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.TestBaseAgentVendor(*args, **kwargs)[source]

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

setUp()[source]
test_driver_validate()[source]
test_driver_validate_invalid_paremeter()[source]
test_driver_validate_missing_parameter()[source]
test_find_node_by_macs(*args, **keywargs)[source]
test_find_node_by_macs_no_ports(*args, **keywargs)[source]
test_find_node_by_macs_nodenotfound(*args, **keywargs)[source]
test_find_ports_by_macs(*args, **keywargs)[source]
test_find_ports_by_macs_bad_params(*args, **keywargs)[source]
test_get_interfaces()[source]
test_get_interfaces_bad()[source]
test_get_node_id()[source]
test_get_node_id_exception()[source]
test_get_properties()[source]
test_heartbeat()[source]
test_heartbeat_bad()[source]
test_lookup_v2_empty_interfaces()[source]
test_lookup_v2_empty_inventory()[source]
test_lookup_v2_hide_password()[source]
test_lookup_v2_missing_inventory()[source]
test_lookup_v2_show_password()[source]
test_lookup_v2_with_node_uuid(*args, **keywargs)[source]
test_lookup_version_not_found()[source]
test_validate()[source]
test_vendor_passthru_driver_routes()[source]
test_vendor_passthru_vendor_routes()[source]
class ironic.tests.unit.drivers.modules.test_agent_base_vendor.TestHeartbeat(*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_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_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]
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_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.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]

Project Source

This Page