Exemple #1
0
 def VM_assert_can_migrate(self, session, vmref, migrate_data, live,
                           vdi_map, vif_map, options):
     raise fake.Failure("XenAPI VM.assert_can_migrate failed")
Exemple #2
0
 def VDI_introduce(self, _1, uuid, _2, _3, _4, _5, _6, _7, _8, _9, _10,
                   _11):
     # This is for testing failure
     raise fake.Failure([['INVALID_VDI', 'session', self._session]])
Exemple #3
0
 def f(*args):
     raise fake.Failure("Test Exception raised by fake _attach_disks")
Exemple #4
0
 def f(*args):
     raise fake.Failure("Test Exception raised by fake create_vm")
Exemple #5
0
 def VM_migrate_send(self, session, vmref, migrate_data, islive, vdi_map,
                     vif_map, options):
     raise fake.Failure("XenAPI VM.migrate_send failed")
Exemple #6
0
 def host_migrate_receive(self, session, hostref, networkref, options):
     raise fake.Failure("XenAPI host.migrate_receive failed")