Test suite for VMwareAPI.
-
class VMwareAPIHostTestCase(*args, **kwargs)
Bases: nova.test.TestCase
Unit tests for Vmware API host calls.
-
setUp()
-
tearDown()
-
test_host_maintenance_off()
-
test_host_maintenance_on()
-
test_host_reboot()
-
test_host_shutdown()
-
test_host_startup()
-
test_host_state()
-
class VMwareAPIVMTestCase(*args, **kwargs)
Bases: nova.test.TestCase
Unit tests for Vmware API connection calls.
-
setUp()
-
tearDown()
-
test_destroy()
-
test_destroy_non_existent()
-
test_diagnostics()
-
test_diagnostics_non_existent_vm()
-
test_get_console_output()
-
test_get_console_pool_info()
-
test_get_info()
-
test_get_vnc_console()
-
test_get_vnc_console_non_existent()
-
test_get_volume_connector()
-
test_host_ip_addr()
-
test_list_instances()
-
test_list_instances_1()
-
test_pause()
-
test_power_off()
-
test_power_off_non_existent()
-
test_power_off_suspended()
-
test_power_on()
-
test_power_on_non_existent()
-
test_reboot()
-
test_reboot_non_existent()
-
test_reboot_not_poweredon()
-
test_reboot_with_uuid()
Test fall back to use name when can’t find by uuid.
-
test_resume()
-
test_resume_non_existent()
-
test_resume_not_suspended()
-
test_snapshot()
-
test_snapshot_non_existent()
-
test_spawn()
-
test_suspend()
-
test_suspend_non_existent()
-
test_unpause()
-
class fake_http_resp
Bases: object
-
read()
-
class fake_vm_ref
Bases: object