The ironic.tests.unit.drivers.modules.ilo.test_boot Module

Test class for boot methods used by iLO modules.

class ironic.tests.unit.drivers.modules.ilo.test_boot.IloBootCommonMethodsTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_parse_driver_info()[source]
test_parse_driver_info_exc()[source]
class ironic.tests.unit.drivers.modules.ilo.test_boot.IloBootPrivateMethodsTestCase(*args, **kwargs)[source]

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

setUp()[source]
test__clean_up_boot_iso_for_instance(*args, **keywargs)[source]
test__clean_up_boot_iso_for_instance_exc(*args, **keywargs)[source]
test__clean_up_boot_iso_for_instance_no_boot_iso(*args, **keywargs)[source]
test__clean_up_boot_iso_for_instance_on_webserver(*args, **keywargs)[source]
test__disable_secure_boot_exception(*args, **keywargs)[source]
test__disable_secure_boot_false(*args, **keywargs)[source]
test__disable_secure_boot_true(*args, **keywargs)[source]
test__get_boot_iso_create(*args, **keywargs)[source]
test__get_boot_iso_create_use_webserver_true_ramdisk_webserver(*args, **keywargs)[source]
test__get_boot_iso_glance_image(*args, **keywargs)[source]
test__get_boot_iso_http_url(*args, **keywargs)[source]
test__get_boot_iso_object_name()[source]
test__get_boot_iso_recreate_boot_iso_use_webserver(*args, **keywargs)[source]
test__get_boot_iso_uefi_no_glance_image(*args, **keywargs)[source]
test__get_boot_iso_unsupported_url(*args, **keywargs)[source]
test__parse_deploy_info(*args, **keywargs)[source]
test__validate_driver_info_InvalidParam(*args, **keywargs)[source]
test__validate_driver_info_MissingParam(*args, **keywargs)[source]
test__validate_driver_info_valid_url(*args, **keywargs)[source]
test__validate_driver_info_valid_uuid(*args, **keywargs)[source]
test__validate_glance_partition_image(*args, **keywargs)[source]
test__validate_non_glance_partition_image(*args, **keywargs)[source]
test__validate_whole_disk_image()[source]
test_prepare_node_for_deploy(*args, **keywargs)[source]
test_prepare_node_for_deploy_inst_info(*args, **keywargs)[source]
test_prepare_node_for_deploy_sec_boot_on(*args, **keywargs)[source]
test_prepare_node_for_deploy_sec_boot_on_inst_info(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.ilo.test_boot.IloPXEBootTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_clean_up_instance(*args, **keywargs)[source]
test_prepare_instance(*args, **keywargs)[source]
test_prepare_ramdisk_in_deploying(*args, **keywargs)[source]
test_prepare_ramdisk_not_deploying_not_cleaning(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.ilo.test_boot.IloVirtualMediaBootTestCase(*args, **kwargs)[source]

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

setUp()[source]
test__configure_vmedia_boot_with_boot_iso(*args, **keywargs)[source]
test__configure_vmedia_boot_without_boot_iso(*args, **keywargs)[source]
test_clean_up_instance(*args, **keywargs)[source]
test_clean_up_ramdisk(*args, **keywargs)[source]
test_prepare_instance_partition_image(*args, **keywargs)[source]
test_prepare_instance_whole_disk_image()[source]
test_prepare_instance_whole_disk_image_local()[source]
test_prepare_ramdisk_glance_image()[source]
test_prepare_ramdisk_glance_image_cleaning()[source]
test_prepare_ramdisk_not_a_glance_image()[source]
test_prepare_ramdisk_not_a_glance_image_cleaning()[source]
test_prepare_ramdisk_not_deploying_not_cleaning(*args, **keywargs)[source]

Ensure deploy ops are blocked when not deploying and not cleaning

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