The ironic.tests.unit.drivers.modules.test_agent Module

The ironic.tests.unit.drivers.modules.test_agent Module

class ironic.tests.unit.drivers.modules.test_agent.AgentRAIDTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test__create_configuration_final(*args, **keywargs)[source]
test__create_configuration_final_bad_command_result(*args, **keywargs)[source]
test__create_configuration_final_registered(*args, **keywargs)[source]
test__delete_configuration_final()[source]
test__delete_configuration_final_registered()[source]
test_create_configuration(*args, **keywargs)[source]
test_create_configuration_empty_target_raid_config(*args, **keywargs)[source]
test_create_configuration_no_target_raid_config_after_skipping(*args, **keywargs)[source]
test_create_configuration_skip_nonroot(*args, **keywargs)[source]
test_create_configuration_skip_root(*args, **keywargs)[source]
test_delete_configuration(*args, **keywargs)[source]
test_get_clean_steps(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_agent.AgentRescueTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_agent_rescue(*args, **keywargs)[source]
test_agent_rescue_clean_up(*args, **keywargs)[source]
test_agent_rescue_clean_up_no_manage_boot(*args, **keywargs)[source]
test_agent_rescue_no_manage_agent_boot(*args, **keywargs)[source]
test_agent_rescue_validate(*args, **keywargs)[source]
test_agent_rescue_validate_fails_empty_rescue_password(*args, **keywargs)[source]
test_agent_rescue_validate_fails_no_rescue_kernel(*args, **keywargs)[source]
test_agent_rescue_validate_fails_no_rescue_password(*args, **keywargs)[source]
test_agent_rescue_validate_fails_no_rescue_ramdisk(*args, **keywargs)[source]
test_agent_rescue_validate_no_manage_agent(*args, **keywargs)[source]
test_agent_unrescue(*args, **keywargs)[source]

Test unrescue in case where boot driver prepares instance reboot.

test_agent_unrescue_no_manage_agent_boot(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_agent.TestAgentDeploy(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_clean_up(*args, **keywargs)[source]
test_clean_up_manage_agent_boot_false(*args, **keywargs)[source]
test_continue_deploy()[source]
test_continue_deploy_image_source_is_url()[source]
test_continue_deploy_partition_image()[source]
test_continue_deploy_with_no_proxy_without_proxies()[source]
test_continue_deploy_with_proxies()[source]
test_deploy(*args, **keywargs)[source]
test_deploy_has_started(*args, **keywargs)[source]
test_deploy_has_started_did_start(*args, **keywargs)[source]
test_deploy_has_started_is_done(*args, **keywargs)[source]
test_deploy_has_started_multiple_commands(*args, **keywargs)[source]
test_deploy_has_started_other_commands(*args, **keywargs)[source]
test_deploy_is_done(*args, **keywargs)[source]
test_deploy_is_done_empty_response(*args, **keywargs)[source]
test_deploy_is_done_race(*args, **keywargs)[source]
test_deploy_is_done_still_running(*args, **keywargs)[source]
test_deploy_storage_should_write_image_false(*args, **keywargs)[source]
test_get_clean_steps(*args, **keywargs)[source]
test_get_clean_steps_config_priority(*args, **keywargs)[source]
test_get_properties()[source]
test_prepare(*args, **keywargs)[source]
test_prepare_active_and_unrescue_states()[source]
test_prepare_adopting(*args, **keywargs)[source]
test_prepare_boot_from_volume(*args, **keywargs)[source]
test_prepare_cleaning(*args, **keywargs)[source]
test_prepare_cleaning_manage_agent_boot_false(*args, **keywargs)[source]
test_prepare_manage_agent_boot_false(*args, **keywargs)[source]
test_prepare_rescue_states()[source]
test_prepare_storage_write_false(*args, **keywargs)[source]
test_prepare_with_neutron_net(*args, **keywargs)[source]
test_prepare_with_neutron_net_exc_no_capabilities(*args, **keywargs)[source]
test_prepare_with_neutron_net_exc_no_capabilities_overwrite(*args, **keywargs)[source]
test_prepare_with_neutron_net_exc_reraise(*args, **keywargs)[source]
test_reboot_to_instance(*args, **keywargs)[source]
test_reboot_to_instance_boot_error(*args, **keywargs)[source]
test_reboot_to_instance_localboot(*args, **keywargs)[source]
test_reboot_to_instance_no_manage_agent_boot(*args, **keywargs)[source]
test_reboot_to_instance_partition_image(*args, **keywargs)[source]
test_tear_down(*args, **keywargs)[source]
test_tear_down_cleaning(*args, **keywargs)[source]
test_tear_down_cleaning_manage_agent_boot_false(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
test_validate_driver_info_manage_agent_boot_false(*args, **keywargs)[source]
test_validate_instance_info_missing_params(*args, **keywargs)[source]
test_validate_invalid_proxies(*args, **keywargs)[source]
test_validate_invalid_root_device_hints(*args, **keywargs)[source]
test_validate_nonglance_image_no_checksum(*args, **keywargs)[source]
test_validate_storage_should_write_image_false(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_agent.TestAgentMethods(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_check_image_size(*args, **keywargs)[source]
test_check_image_size_fail(*args, **keywargs)[source]
test_check_image_size_fail_by_agent_consumed_memory(*args, **keywargs)[source]
test_check_image_size_raw_stream_disabled(*args, **keywargs)[source]
test_check_image_size_raw_stream_enabled(*args, **keywargs)[source]
test_check_image_size_without_memory_mb(*args, **keywargs)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.