svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=85
import sipb_xen_database.models as models
+from sipb_xen_database import connect
-# `name' gets passed in from the xm create call
+connect('postgres://sipb-xen@sipb-vm-1/sipb_xen')
+# `machine_name' should get passed in from the xm create call
-machine = models.Machine.get_by(name=name)
+machine = models.Machine.get_by(name=machine_name)
machine_type = models.Type.get_by(type_id=machine.type_id)
memory = machine.memory
+sipb-xen-database (3) unstable; urgency=low
+
+ * Add a connect() line to sipb-database
+ * Fix some other bugs in sipb-database
+
+ -- Nelson Elhage <nelhage@mit.edu> Sun, 19 Aug 2007 19:40:08 -0400
+
sipb-xen-database (2) unstable; urgency=low
* Fix the postinit and prerm scripts to create a sipb-xen user