- Timestamp:
- Aug 19, 2007, 7:41:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/sipb-xen-database/client/etc/xen/sipb-database
r84 r85 1 1 import sipb_xen_database.models as models 2 from sipb_xen_database import connect 2 3 3 # `name' gets passed in from the xm create call 4 connect('postgres://sipb-xen@sipb-vm-1/sipb_xen') 5 # `machine_name' should get passed in from the xm create call 4 6 5 machine = models.Machine.get_by(name= name)7 machine = models.Machine.get_by(name=machine_name) 6 8 machine_type = models.Type.get_by(type_id=machine.type_id) 7 9
Note: See TracChangeset
for help on using the changeset viewer.