Пример #1
0
 def create_bridge(self, user, passwd, name):
     XenAPI().create_bridge(name)
Пример #2
0
 def remove_bridge(self, user, passwd, name):
     XenAPI().remove_bridge(name)
Пример #3
0
 def cleanup_vm(self, user, passwd, vm_name):
     XenAPI().cleanup_vm(vm_name)
Пример #4
0
 def kill_zombie_vm(self, user, passwd, vm_id):
     XenAPI().kill_zombie_vm(vm_id)
Пример #5
0
 def list_vm(self, user, passwd, vm_name):
     return XenAPI().list_vm(vm_name)
Пример #6
0
 def setup_vm(self, user, passwd, vm_name, base_vm, vif=None):
     XenAPI().setup_vm(vm_name, base_vm, vif)
Пример #7
0
 def list_all_vms(self, user, passwd):
     return XenAPI().list_all_vms()
Пример #8
0
 def get_dom_details(self, user, passwd):
     return XenAPI().get_dom_details()
Пример #9
0
 def save_vm(self, user, passwd, vm_name):
     XenAPI().save_vm(vm_name)
Пример #10
0
 def restore_vm(self, user, passwd, vm_name, base_vm):
     XenAPI().restore_vm(vm_name, base_vm)
Пример #11
0
 def stop_vm(self, user, passwd, vm_name):
     XenAPI().stop_vm(vm_name)
Пример #12
0
 def start_vm(self, user, passwd, vm_name, vm_options):
     return XenAPI().start_vm(vm_name, vm_options)
Пример #13
0
 def is_bridge_up(self, user, passwd, name):
     return XenAPI().is_bridge_up(name)
Пример #14
0
 def bridge_exists(self, user, passwd, name):
     return XenAPI().bridge_exists(name)
Пример #15
0
 def vm_exists(self, user, passwd, name):
     return XenAPI().vm_exists(name)