Test class for Ironic SeaMicro driver.
-
class ironic.tests.unit.drivers.modules.test_seamicro.Fake_Pool(freeSize=None, *args, **kwargs)[source]
Bases: object
-
class ironic.tests.unit.drivers.modules.test_seamicro.Fake_Server(active=False, *args, **kwargs)[source]
Bases: object
-
attach_volume(volume_id)[source]
-
detach_volume()[source]
-
power_off(force=False)[source]
-
power_on()[source]
-
refresh(wait=0)[source]
-
reset()[source]
-
set_boot_order(boot_order)[source]
-
set_untagged_vlan(vlan_id)[source]
-
class ironic.tests.unit.drivers.modules.test_seamicro.Fake_Volume(id=None, *args, **kwargs)[source]
Bases: object
-
class ironic.tests.unit.drivers.modules.test_seamicro.SeaMicroDriverTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test_get_console(*args, **keywargs)[source]
-
test_start_console(*args, **keywargs)[source]
-
test_start_console_fail(*args, **keywargs)[source]
-
test_start_console_fail_nodir(*args, **keywargs)[source]
-
test_stop_console(*args, **keywargs)[source]
-
test_stop_console_fail(*args, **keywargs)[source]
-
class ironic.tests.unit.drivers.modules.test_seamicro.SeaMicroPowerDriverTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test_attach_volume_fail(*args, **keywargs)[source]
-
test_attach_volume_with_invalid_volume_id_fail(*args, **keywargs)[source]
-
test_attach_volume_with_no_input_fail()[source]
-
test_attach_volume_with_volume_id_good(*args, **keywargs)[source]
-
test_attach_volume_with_volume_size_good(*args, **keywargs)[source]
-
test_driver_routes()[source]
-
test_get_properties()[source]
-
test_management_interface_get_boot_device()[source]
-
test_management_interface_get_supported_boot_devices()[source]
-
test_management_interface_validate_fail()[source]
-
test_management_interface_validate_good()[source]
-
test_power_interface_validate_fails(*args, **keywargs)[source]
-
test_power_interface_validate_good(*args, **keywargs)[source]
-
test_reboot(*args, **keywargs)[source]
-
test_set_boot_device_fail(*args, **keywargs)[source]
-
test_set_boot_device_good(*args, **keywargs)[source]
-
test_set_boot_device_invalid_device_fail(*args, **keywargs)[source]
-
test_set_node_vlan_id_fail(*args, **keywargs)[source]
-
test_set_node_vlan_id_good(*args, **keywargs)[source]
-
test_set_node_vlan_id_no_input()[source]
-
test_set_power_state_bad_state()[source]
-
test_set_power_state_off_fail(*args, **keywargs)[source]
-
test_set_power_state_off_good(*args, **keywargs)[source]
-
test_set_power_state_on_fail(*args, **keywargs)[source]
-
test_set_power_state_on_good(*args, **keywargs)[source]
-
test_vendor_passthru_validate_good(*args, **keywargs)[source]
-
test_vendor_passthru_validate_parse_driver_info_fail(*args, **keywargs)[source]
-
test_vendor_routes()[source]
-
class ironic.tests.unit.drivers.modules.test_seamicro.SeaMicroPrivateMethodsTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test__create_volume_fail(*args, **keywargs)[source]
-
test__create_volume_good(*args, **keywargs)[source]
-
test__get_client(*args, **keywargs)[source]
-
test__get_client_fail(*args, **keywargs)[source]
-
test__get_power_status_error(*args, **keywargs)[source]
-
test__get_power_status_off(*args, **keywargs)[source]
-
test__get_power_status_on(*args, **keywargs)[source]
-
test__power_off_fail(*args, **keywargs)[source]
-
test__power_off_good(*args, **keywargs)[source]
-
test__power_on_fail(*args, **keywargs)[source]
-
test__power_on_good(*args, **keywargs)[source]
-
test__reboot_fail(*args, **keywargs)[source]
-
test__reboot_good(*args, **keywargs)[source]
-
test__validate_fail(*args, **keywargs)[source]
-
test__validate_good(*args, **keywargs)[source]
-
class ironic.tests.unit.drivers.modules.test_seamicro.SeaMicroValidateParametersTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
test__parse_driver_info_empty_terminal_port()[source]
-
test__parse_driver_info_good()[source]
-
test__parse_driver_info_missing_api_endpoint()[source]
-
test__parse_driver_info_missing_password()[source]
-
test__parse_driver_info_missing_server_id()[source]
-
test__parse_driver_info_missing_username()[source]