Test class for iSCSI deploy mechanism.
-
class
ironic.tests.unit.drivers.modules.test_iscsi_deploy.
CleanUpFullFlowTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_clean_up_with_master
(*args, **keywargs)[source]
-
class
ironic.tests.unit.drivers.modules.test_iscsi_deploy.
ISCSIDeployTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_clean_up
(*args, **keywargs)[source]
-
test_continue_deploy_localboot
(*args, **keywargs)[source]
-
test_continue_deploy_localboot_uefi
(*args, **keywargs)[source]
-
test_continue_deploy_netboot
(*args, **keywargs)[source]
-
test_deploy
(*args, **keywargs)[source]
-
test_deploy_storage_check_write_image_false
(*args, **keywargs)[source]
-
test_execute_clean_step
(*args, **keywargs)[source]
-
test_get_clean_steps
(*args, **keywargs)[source]
-
test_get_properties
()[source]
-
test_heartbeat
()[source]
-
test_prepare_cleaning
(*args, **keywargs)[source]
-
test_prepare_node_active
(*args, **keywargs)[source]
-
test_prepare_node_adopting
(*args, **keywargs)[source]
-
test_prepare_node_deploying
(*args, **keywargs)[source]
-
test_tear_down
(*args, **keywargs)[source]
-
test_tear_down_cleaning
(*args, **keywargs)[source]
-
test_validate
(*args, **keywargs)[source]
-
test_validate_storage_should_write_image_false
(*args, **keywargs)[source]
-
class
ironic.tests.unit.drivers.modules.test_iscsi_deploy.
IscsiDeployMethodsTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_cache_instance_images_master_path
(*args, **keywargs)[source]
-
test_check_image_size
(*args, **keywargs)[source]
-
test_check_image_size_fails
(*args, **keywargs)[source]
-
test_continue_deploy
(*args, **keywargs)[source]
-
test_continue_deploy_fail
(*args, **keywargs)[source]
-
test_continue_deploy_fail_empty_root_uuid
(*args, **keywargs)[source]
-
test_continue_deploy_fail_no_root_uuid_or_disk_id
(*args, **keywargs)[source]
-
test_continue_deploy_unexpected_fail
(*args, **keywargs)[source]
-
test_continue_deploy_whole_disk_image
(*args, **keywargs)[source]
-
test_destroy_images
(*args, **keywargs)[source]
-
test_do_agent_iscsi_deploy_okay
(*args, **keywargs)[source]
-
test_do_agent_iscsi_deploy_preserve_ephemeral
(*args, **keywargs)[source]
Ensure the disk is not wiped if preserve_ephemeral is True.
-
test_do_agent_iscsi_deploy_start_iscsi_failure
(*args, **keywargs)[source]
-
test_get_deploy_info_boot_option_default
()[source]
-
test_get_deploy_info_disk_label
()[source]
-
test_get_deploy_info_localboot
()[source]
-
test_get_deploy_info_netboot_specified
()[source]
-
test_get_deploy_info_not_specified
()[source]
-
test_get_deploy_info_portal_port
()[source]
-
test_get_deploy_info_whole_disk_image
()[source]
-
test_validate_fail_no_api_url
(*args, **keywargs)[source]
-
test_validate_good_api_url
(*args, **keywargs)[source]
-
test_validate_invalid_root_device_hints
()[source]
-
class
ironic.tests.unit.drivers.modules.test_iscsi_deploy.
IscsiDeployPrivateMethodsTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test__get_image_dir_path
()[source]
-
test__get_image_file_path
()[source]
-
test__save_disk_layout
()[source]