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

class ironic.tests.unit.drivers.modules.test_agent_base_vendor.AgentDeployMixinBaseTest(*args, **kwargs)[source]

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

setUp()[source]
class ironic.tests.unit.drivers.modules.test_agent_base_vendor.AgentDeployMixinTest(*args, **kwargs)[source]

Bases: ironic.tests.unit.drivers.modules.test_agent_base_vendor.AgentDeployMixinBaseTest

test__cleaning_reboot(*args, **keywargs)[source]
test__cleaning_reboot_fail(*args, **keywargs)[source]
test__get_post_clean_step_hook(*args, **keywargs)[source]
test__get_post_clean_step_hook_no_hook_registered(*args, **keywargs)[source]
test_configure_local_boot(*args, **keywargs)[source]
test_configure_local_boot_boot_loader_install_fail(*args, **keywargs)[source]
test_configure_local_boot_no_root_uuid(*args, **keywargs)[source]
test_configure_local_boot_set_boot_device_fail(*args, **keywargs)[source]
test_configure_local_boot_uefi(*args, **keywargs)[source]
test_configure_local_boot_whole_disk_image(*args, **keywargs)[source]
test_continue_cleaning(*args, **keywargs)[source]
test_continue_cleaning_after_reboot(*args, **keywargs)[source]
test_continue_cleaning_automated_clean_version_mismatch()[source]
test_continue_cleaning_clean_version_mismatch_fail(*args, **keywargs)[source]
test_continue_cleaning_fail(*args, **keywargs)[source]
test_continue_cleaning_manual_clean_version_mismatch()[source]
test_continue_cleaning_old_command(*args, **keywargs)[source]
test_continue_cleaning_reboot(*args, **keywargs)[source]
test_continue_cleaning_running(*args, **keywargs)[source]
test_continue_cleaning_unknown(*args, **keywargs)[source]
test_continue_cleaning_with_hook(*args, **keywargs)[source]
test_continue_cleaning_with_hook_fails(*args, **keywargs)[source]
test_post_clean_step_hook(*args, **keywargs)[source]
test_prepare_instance_to_boot_configure_fails(*args, **keywargs)[source]
test_prepare_instance_to_boot_localboot(*args, **keywargs)[source]
test_prepare_instance_to_boot_netboot(*args, **keywargs)[source]
test_reboot_and_finish_deploy(*args, **keywargs)[source]
test_reboot_and_finish_deploy_configure_tenant_network_exception(*args, **keywargs)[source]
test_reboot_and_finish_deploy_get_power_state_fails(*args, **keywargs)[source]
test_reboot_and_finish_deploy_power_action_fails(*args, **keywargs)[source]
test_reboot_and_finish_deploy_power_action_oob_power_off(*args, **keywargs)[source]
test_reboot_and_finish_deploy_power_action_oob_power_off_failed(*args, **keywargs)[source]
test_reboot_and_finish_deploy_soft_poweroff_doesnt_complete(*args, **keywargs)[source]
test_reboot_and_finish_deploy_soft_poweroff_fails(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_agent_base_vendor.HeartbeatMixinTest(*args, **kwargs)[source]

Bases: ironic.tests.unit.drivers.modules.test_agent_base_vendor.AgentDeployMixinBaseTest

setUp()[source]
test_heartbeat_continue_cleaning(*args, **keywargs)[source]
test_heartbeat_continue_cleaning_fails(*args, **keywargs)[source]
test_heartbeat_continue_cleaning_no_worker(*args, **keywargs)[source]
test_heartbeat_deploy_done_fails(*args, **keywargs)[source]
test_heartbeat_deploy_done_raises_with_event(*args, **keywargs)[source]
test_heartbeat_no_agent_last_heartbeat(*args, **keywargs)[source]

node.driver_internal_info doesn’t have ‘agent_last_heartbeat’.

test_heartbeat_noops_maintenance_mode(*args, **keywargs)[source]

Ensures that heartbeat() no-ops for a maintenance node.

test_heartbeat_resume_clean(*args, **keywargs)[source]
test_heartbeat_resume_clean_fails(*args, **keywargs)[source]
test_heartbeat_touch_provisioning(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_agent_base_vendor.TestRefreshCleanSteps(*args, **kwargs)[source]

Bases: ironic.tests.unit.drivers.modules.test_agent_base_vendor.AgentDeployMixinBaseTest

setUp()[source]
test_refresh_clean_steps(*args, **keywargs)[source]
test_refresh_clean_steps_missing_interface(*args, **keywargs)[source]
test_refresh_clean_steps_missing_steps(*args, **keywargs)[source]