svn path=/trunk/packages/sipb-xen-database/; revision=836
client/etc/xen/sipb-database: gateway, netmask
-sipb-xen-database-tables: db uri
+sipb-xen-database (10.16) unstable; urgency=low
+
+ in sipb-xen-database-tables:
+ * use invirt.database, and take default db uri
+
+ -- Greg Price <price@mit.edu> Sun, 3 Aug 2008 00:51:32 -0400
+
sipb-xen-database (10.15) unstable; urgency=low
in /etc/xen/database:
#!/usr/bin/env python
-from sipb_xen_database import *
+from invirt import database
import sys
def usage():
if len(sys.argv) == 1:
usage()
-connect('postgres://sipb-xen@/sipb_xen')
+database.connect()
if sys.argv[1] == "create":
- meta.create_all()
+ database.meta.create_all()
elif sys.argv[1] == "drop":
- meta.drop_all()
+ database.meta.drop_all()
else:
usage()