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__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]
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_glance_partition_image(*args, **keywargs)[source]
test_validate_non_glance_partition_image(*args, **keywargs)[source]
test_validate_whole_disk_image()[source]