import socket
from invirt.config import structs as config
-sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
+sipb_xen_database.connect(config.db.uri)
def live_vms():
p = subprocess.Popen(['/usr/sbin/xm', 'list'], stdout=subprocess.PIPE)