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

class ironic.tests.unit.drivers.modules.test_agent.AgentRAIDTestCase(*args, **kwargs)[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.TestAgentDeploy(*args, **kwargs)[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_deploy(*args, **keywargs)[source]
test_get_clean_steps(*args, **keywargs)[source]
test_get_clean_steps_config_priority(*args, **keywargs)[source]
test_get_properties()[source]
test_heartbeat()[source]
test_prepare(*args, **keywargs)[source]
test_prepare_active(*args, **keywargs)[source]
test_prepare_adopting(*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_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]
class ironic.tests.unit.drivers.modules.test_agent.TestAgentMethods(*args, **kwargs)[source]

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

setUp()[source]
test_build_instance_info_for_deploy_glance_image(*args, **keywargs)[source]
test_build_instance_info_for_deploy_glance_partition_image(*args, **keywargs)[source]
test_build_instance_info_for_deploy_nonglance_image(*args, **keywargs)[source]
test_build_instance_info_for_deploy_nonglance_partition_image(*args, **keywargs)[source]
test_build_instance_info_for_deploy_nonsupported_image(*args, **keywargs)[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]
class ironic.tests.unit.drivers.modules.test_agent.TestAgentVendor(*args, **kwargs)[source]

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

setUp()[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_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_reboot_to_instance(*args, **keywargs)[source]
test_reboot_to_instance_boot_error(*args, **keywargs)[source]
test_reboot_to_instance_boot_none(*args, **keywargs)[source]
test_reboot_to_instance_localboot(*args, **keywargs)[source]
test_reboot_to_instance_partition_image(*args, **keywargs)[source]

Project Source

This Page