Changeset 85 for trunk/packages


Ignore:
Timestamp:
Aug 19, 2007, 7:41:02 PM (17 years ago)
Author:
nelhage
Message:

Add a connect() call to sipb-database and make some changes

Location:
trunk/packages/sipb-xen-database/sipb-xen-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/sipb-xen-database/client/etc/xen/sipb-database

    r84 r85  
    11import sipb_xen_database.models as models
     2from sipb_xen_database import connect
    23
    3 # `name' gets passed in from the xm create call
     4connect('postgres://sipb-xen@sipb-vm-1/sipb_xen')
     5# `machine_name' should get passed in from the xm create call
    46
    5 machine = models.Machine.get_by(name=name)
     7machine = models.Machine.get_by(name=machine_name)
    68machine_type = models.Type.get_by(type_id=machine.type_id)
    79
  • trunk/packages/sipb-xen-database/sipb-xen-database/debian/changelog

    r81 r85  
     1sipb-xen-database (3) unstable; urgency=low
     2
     3  * Add a connect() line to sipb-database
     4  * Fix some other bugs in sipb-database
     5
     6 -- Nelson Elhage <nelhage@mit.edu>  Sun, 19 Aug 2007 19:40:08 -0400
     7
    18sipb-xen-database (2) unstable; urgency=low
    29
Note: See TracChangeset for help on using the changeset viewer.