Changeset 77 for trunk/packages
- Timestamp:
- Aug 16, 2007, 1:01:56 AM (17 years ago)
- Location:
- trunk/packages/sipb-xen-database/sipb-xen-database
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/sipb-xen-database/debian/sipb-xen-database-server.install
r70 r77 1 s erver/* .1 sipb-xen-database-tables usr/bin -
trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/__init__.py
r13 r77 1 from models import * 2 3 def connect(uri): 4 """ Connect to a given database URI""" 5 meta.connect(uri) -
trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/models.py
r64 r77 3 3 from sqlalchemy.ext.sessioncontext import SessionContext 4 4 from sqlalchemy.ext.assignmapper import assign_mapper 5 6 __all__ = ['meta', 7 'ctx', 8 'machine_table', 9 'nic_table', 10 'disk_table', 11 'types_table', 12 'Machine', 13 'NIC', 14 'Disk', 15 'Type'] 5 16 6 17 meta = DynamicMetaData()
Note: See TracChangeset
for help on using the changeset viewer.