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, **kwargs)[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.IRMCVirtualMediaBootTestCase(*args, **kwargs)[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_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_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]

Project Source

This Page