Changeset 2200
- Timestamp:
- Feb 27, 2009, 2:56:51 AM (16 years ago)
- Location:
- trunk/packages/invirt-database
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/changelog
r2198 r2200 14 14 * refactor code that sets values 15 15 * print full help on no arguments 16 17 all: 16 18 * make EIBTI imports 17 19 18 -- Greg Price <price@mit.edu> Fri, 27 Feb 2009 02: 16:28-050020 -- Greg Price <price@mit.edu> Fri, 27 Feb 2009 02:29:29 -0500 19 21 20 22 invirt-database (0.1.7) unstable; urgency=low -
trunk/packages/invirt-database/python/database/models.py
r2187 r2200 6 6 from sqlalchemy.ext.assignmapper import assign_mapper 7 7 8 from record import *9 from owner import Owner8 from invirt.database import record 9 from invirt.database.owner import Owner 10 10 11 11 __all__ = ['meta', … … 102 102 PrimaryKeyConstraint('machine_id', 'user')) 103 103 104 class Machine( Record):104 class Machine(record.Record): 105 105 _identity_field = 'name' 106 106 107 class MachineAccess( Record):107 class MachineAccess(record.Record): 108 108 pass 109 109 110 class NIC( Record):110 class NIC(record.Record): 111 111 pass 112 112 113 class Disk( Record):113 class Disk(record.Record): 114 114 pass 115 115 116 class Type( Record):116 class Type(record.Record): 117 117 _identity_field = 'type_id' 118 118 119 class Mirror( Record):119 class Mirror(record.Record): 120 120 _identity_field = 'mirror_id' 121 121 122 class CDROM( Record):122 class CDROM(record.Record): 123 123 _identity_field = 'cdrom_id' 124 124 125 class Autoinstall( Record):125 class Autoinstall(record.Record): 126 126 _identity_field = 'autoinstall_id' 127 127 -
trunk/packages/invirt-database/python/database/owner.py
r2192 r2200 1 from record import Record1 from invirt.database import record 2 2 3 class Owner( Record):3 class Owner(record.Record): 4 4 _f = { 5 5 'ram_quota_total': (512, 'MiB'),
Note: See TracChangeset
for help on using the changeset viewer.