-def registerMachine(machine):
- """Register a machine to be controlled by the web interface"""
- remctl('web', 'register', machine.name)
-
-def unregisterMachine(machine):
- """Unregister a machine to not be controlled by the web interface"""
- remctl('web', 'unregister', machine.name)
-
-def createVm(owner, contact, name, memory, disk_size, is_hvm, cdrom, clone_from):
+def createVm(username, state, owner, contact, name, memory, disksize, machine_type, cdrom, clone_from):