projects
/
invirt/packages/invirt-database.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78d74e
)
Machine -> type relation
author
Eric Price
<ecprice@mit.edu>
Mon, 8 Oct 2007 06:38:38 +0000
(
02:38
-0400)
committer
Eric Price
<ecprice@mit.edu>
Mon, 8 Oct 2007 06:38:38 +0000
(
02:38
-0400)
svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=137
sipb_xen_database/models.py
patch
|
blob
|
history
diff --git
a/sipb_xen_database/models.py
b/sipb_xen_database/models.py
index
2736bb4
..
4226598
100644
(file)
--- a/
sipb_xen_database/models.py
+++ b/
sipb_xen_database/models.py
@@
-82,7
+82,8
@@
class CDROM(object):
assign_mapper(ctx, Machine, machine_table, \
properties={'nics': relation(NIC),
- 'disks': relation(Disk)});
+ 'disks': relation(Disk),
+ 'type': relation(Type)});
assign_mapper(ctx, NIC, nic_table)
assign_mapper(ctx, Disk, disk_table)
assign_mapper(ctx, Type, types_table)