1 import sipb_xen_database.models as models
3 # `name' gets passed in from the xm create call
5 machine = models.Machine.get_by(name=name)
8 memory = machine.memory
15 # XXX TODO deal with vifs
19 for d in machine.disks:
20 dspec = 'phy:xenvg/%s,%s,w' % (???, d.guest_device_name)
24 if machine.autorestart:
27 on_poweroff = 'destroy'