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

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

Test class for iRMC Boot Driver

class ironic.tests.unit.drivers.modules.irmc.test_boot.IRMCDeployPrivateMethodsTestCase(*args, **kwds)[source]

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

setUp()[source]
test__attach_virtual_cd_fail(*args, **keywargs)[source]
test__attach_virtual_cd_ok(*args, **keywargs)[source]
test__attach_virtual_fd_fail(*args, **keywargs)[source]
test__attach_virtual_fd_ok(*args, **keywargs)[source]
test__cleanup_vmedia_boot_ok(*args, **keywargs)[source]
test__detach_virtual_cd_fail(*args, **keywargs)[source]
test__detach_virtual_cd_ok(*args, **keywargs)[source]
test__detach_virtual_fd_fail(*args, **keywargs)[source]
test__detach_virtual_fd_ok(*args, **keywargs)[source]
test__get_boot_iso_name()[source]
test__get_deploy_iso_name()[source]
test__get_floppy_image_name()[source]
test__parse_config_option(*args, **keywargs)[source]
test__parse_config_option_non_existed_root(*args, **keywargs)[source]
test__parse_driver_info_in_share(*args, **keywargs)[source]

With required ‘irmc_deploy_iso’ in share.

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

With required ‘irmc_deploy_iso’ not in share.

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

With required ‘irmc_deploy_iso’ non existed.

test__parse_driver_info_with_deploy_iso_missing()[source]

With required ‘irmc_deploy_iso’ empty.

test__parse_instance_info_with_boot_iso_file_name_ok()[source]

With optional ‘irmc_boot_iso’ file name.

test__parse_instance_info_with_boot_iso_file_url_ok()[source]

With optional ‘irmc_boot_iso’ file url.

test__parse_instance_info_with_boot_iso_glance_ok()[source]

With optional ‘irmc_boot_iso’ glance url.

test__parse_instance_info_with_boot_iso_http_ok()[source]

With optional ‘irmc_boot_iso’ http url.

test__parse_instance_info_with_boot_iso_https_ok()[source]

With optional ‘irmc_boot_iso’ https url.

test__parse_instance_info_with_boot_iso_invalid(*args, **keywargs)[source]
test__parse_instance_info_with_boot_iso_uuid_ok()[source]

With optional ‘irmc_boot_iso’ glance uuid.

test__parse_instance_info_without_boot_iso_ok()[source]

With optional no ‘irmc_boot_iso’ file name.

test__prepare_boot_iso_create_ok(*args, **keywargs)[source]
test__prepare_boot_iso_fetch_ok(*args, **keywargs)[source]
test__prepare_boot_iso_file(*args, **keywargs)[source]
test__prepare_floppy_image(*args, **keywargs)[source]
test__prepare_floppy_image_exception(*args, **keywargs)[source]
test__remove_share_file(*args, **keywargs)[source]
test__setup_deploy_iso_with_file(*args, **keywargs)[source]
test__setup_vmedia_for_boot_with_parameters(*args, **keywargs)[source]
test__setup_vmedia_for_boot_without_parameters(*args, **keywargs)[source]
test_attach_boot_iso_if_needed(*args, **keywargs)[source]
test_attach_boot_iso_if_needed_on_rebuild(*args, **keywargs)[source]
test_check_share_fs_mounted_exception(*args, **keywargs)[source]
test_check_share_fs_mounted_ok(*args, **keywargs)[source]
test_parse_deploy_info_ok(*args, **keywargs)[source]
test_setup_deploy_iso_with_image_service(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.irmc.test_boot.IRMCPXEBootBasicTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.drivers.modules.test_pxe.PXEBootTestCase

test_get_properties()[source]
class ironic.tests.unit.drivers.modules.irmc.test_boot.IRMCPXEBootTestCase(*args, **kwds)[source]

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

setUp()[source]
test_clean_up_instance_secure_boot_false(*args, **keywargs)[source]
test_clean_up_instance_with_secure_boot(*args, **keywargs)[source]
test_clean_up_instance_without_secure_boot(*args, **keywargs)[source]
test_prepare_instance_with_secure_boot(*args, **keywargs)[source]
test_prepare_instance_with_secure_boot_false(*args, **keywargs)[source]
test_prepare_instance_without_secure_boot(*args, **keywargs)[source]
test_prepare_ramdisk_with_backup_bios(*args, **keywargs)[source]
test_prepare_ramdisk_without_backup_bios(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.irmc.test_boot.IRMCVirtualMediaBootTestCase(*args, **kwds)[source]

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

setUp()[source]
test__configure_vmedia_boot(*args, **keywargs)[source]
test_clean_up_instance(*args, **keywargs)[source]
test_clean_up_instance_with_secure_boot(*args, **keywargs)[source]
test_clean_up_instance_with_secure_boot_false(*args, **keywargs)[source]
test_clean_up_instance_without_secure_boot(*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_instance_with_secure_boot(*args, **keywargs)[source]
test_prepare_instance_with_secure_boot_false(*args, **keywargs)[source]
test_prepare_instance_without_secure_boot(*args, **keywargs)[source]
test_prepare_ramdisk_glance_image_cleaning()[source]
test_prepare_ramdisk_glance_image_deploying()[source]
test_prepare_ramdisk_not_deploying_not_cleaning(*args, **keywargs)[source]

Ensure deploy ops are blocked when not deploying and not cleaning

test_remote_image_share_type_values()[source]
test_validate_glance_image(*args, **keywargs)[source]
test_validate_non_glance_image(*args, **keywargs)[source]
test_validate_whole_disk_image(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.irmc.test_boot.IRMCVirtualMediaBootWithVolumeTestCase(*args, **kwds)[source]

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

setUp()[source]
test__cleanup_boot_from_volume(*args, **keywargs)[source]
test__configure_boot_from_volume_apply_error(*args, **keywargs)[source]
test__configure_boot_from_volume_fc(*args, **keywargs)[source]
test__configure_boot_from_volume_iscsi(*args, **keywargs)[source]
test__configure_boot_from_volume_iscsi_chap(*args, **keywargs)[source]
test__configure_boot_from_volume_iscsi_no_portal_port(*args, **keywargs)[source]
test__configure_boot_from_volume_multi_lan_ports(*args, **keywargs)[source]
test_clean_up_instance(*args, **keywargs)[source]
test_clean_up_instance_error(*args, **keywargs)[source]
test_prepare_instance(*args, **keywargs)[source]
test_prepare_ramdisk_skip(*args, **keywargs)[source]
test_validate_invalid_physical_id_in_lan_port(*args, **keywargs)[source]
test_validate_iscsi(*args, **keywargs)[source]
test_validate_iscsi_connector_invalid_netmask(*args, **keywargs)[source]
test_validate_iscsi_connector_no_ip(*args, **keywargs)[source]
test_validate_iscsi_connector_no_iqn(*args, **keywargs)[source]
test_validate_iscsi_connector_no_netmask(*args, **keywargs)[source]
test_validate_iscsi_connector_no_physical_id(*args, **keywargs)[source]
test_validate_iscsi_connector_too_large_netmask(*args, **keywargs)[source]
test_validate_iscsi_connector_too_small_netmask(*args, **keywargs)[source]
test_validate_no_physical_id_in_lan_port(*args, **keywargs)[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.