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

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

Test class for iSCSI deploy mechanism.

class ironic.tests.unit.drivers.modules.test_iscsi_deploy.CleanUpFullFlowTestCase(*args, **kwds)[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, **kwds)[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_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_prepare_node_deploying_storage_should_write_false(*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.InstanceImageCacheTestCase(*args, **kwds)[source]

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

test_with_master_path(*args, **keywargs)[source]
test_without_master_path(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_iscsi_deploy.IscsiDeployMethodsTestCase(*args, **kwds)[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_check_image_size_whole_disk_image(*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(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_iscsi_deploy.IscsiDeployPrivateMethodsTestCase(*args, **kwds)[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]
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.