Changeset 829
- Timestamp:
- Aug 3, 2008, 12:29:54 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/client/etc/xen/sipb-database
r828 r829 1 1 # -*- mode: python; -*- 2 import sipb_xen_database.models as models 3 from sipb_xen_database import connect 2 from invirt.database import models, connect 4 3 import re 5 4 import tempfile 6 5 from subprocess import call 7 6 8 connect( 'postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')7 connect() 9 8 prefix = "d_" 10 9 -
trunk/packages/sipb-xen-database/config.todo
r810 r829 1 client/etc/xen/sipb-database: db uri2 1 client/etc/xen/sipb-database: gateway, netmask 3 2 sipb-xen-database-tables: db uri -
trunk/packages/sipb-xen-database/debian/changelog
r828 r829 1 1 sipb-xen-database (10.15) unstable; urgency=low 2 2 3 * uncommitted changes to /etc/xen/sipb-database on black-mesa 3 in /etc/xen/database: 4 * uncommitted changes on black-mesa 5 * sipb_xen_database -> invirt.database 6 * use default db uri 4 7 5 -- Greg Price <price@mit.edu> Sun, 3 Aug 2008 00:26:13 -0400 8 in invirt.database: 9 * get default db uri from invirt.config 10 11 -- Greg Price <price@mit.edu> Sun, 3 Aug 2008 00:26:46 -0400 6 12 7 13 sipb-xen-database (10.14) unstable; urgency=low -
trunk/packages/sipb-xen-database/python/database/__init__.py
r77 r829 1 from invirt.config import structs as config 1 2 from models import * 2 3 3 def connect(uri ):4 def connect(uri = config.db.uri): 4 5 """ Connect to a given database URI""" 5 6 meta.connect(uri)
Note: See TracChangeset
for help on using the changeset viewer.