Test class for PXE driver.
-
class
ironic.tests.unit.drivers.modules.test_pxe.
CleanUpPxeEnvTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test__clean_up_pxe_env
(*args, **keywargs)[source]
-
class
ironic.tests.unit.drivers.modules.test_pxe.
PXEBootTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_clean_up_instance
(*args, **keywargs)[source]
-
test_clean_up_ramdisk
(*args, **keywargs)[source]
-
test_get_properties
()[source]
-
test_prepare_instance_localboot
(*args, **keywargs)[source]
-
test_prepare_instance_localboot_active
(*args, **keywargs)[source]
-
test_prepare_instance_netboot
(*args, **keywargs)[source]
-
test_prepare_instance_netboot_active
(*args, **keywargs)[source]
-
test_prepare_instance_netboot_missing_root_uuid
(*args, **keywargs)[source]
-
test_prepare_ramdisk
()[source]
-
test_prepare_ramdisk_cleaning
()[source]
-
test_prepare_ramdisk_ipxe_swift
(*args, **keywargs)[source]
-
test_prepare_ramdisk_ipxe_swift_whole_disk_image
(*args, **keywargs)[source]
-
test_prepare_ramdisk_ipxe_with_copy_file_different
(*args, **keywargs)[source]
-
test_prepare_ramdisk_ipxe_with_copy_no_file
(*args, **keywargs)[source]
-
test_prepare_ramdisk_ipxe_without_copy
(*args, **keywargs)[source]
-
test_prepare_ramdisk_uefi
()[source]
-
test_validate_fail_glance_conn_problem
(*args, **keywargs)[source]
-
test_validate_fail_glance_image_doesnt_exists
(*args, **keywargs)[source]
-
test_validate_fail_invalid_trusted_boot_value
()[source]
-
test_validate_fail_missing_deploy_kernel
()[source]
-
test_validate_fail_missing_deploy_ramdisk
()[source]
-
test_validate_fail_missing_image_source
()[source]
-
test_validate_fail_no_image_kernel_ramdisk_props
(*args, **keywargs)[source]
-
test_validate_fail_no_port
()[source]
-
test_validate_fail_trusted_boot_with_secure_boot
()[source]
-
test_validate_good
(*args, **keywargs)[source]
-
test_validate_good_whole_disk_image
(*args, **keywargs)[source]
-
class
ironic.tests.unit.drivers.modules.test_pxe.
PXEPrivateMethodsTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test__build_pxe_config_options_ipxe
()[source]
-
test__build_pxe_config_options_ipxe_and_ipxe_timeout
()[source]
-
test__build_pxe_config_options_ipxe_ipa_debug
()[source]
-
test__build_pxe_config_options_ipxe_local_boot
()[source]
-
test__build_pxe_config_options_ipxe_swift_partition
()[source]
-
test__build_pxe_config_options_ipxe_swift_wdi
()[source]
-
test__build_pxe_config_options_pxe
()[source]
-
test__build_pxe_config_options_pxe_ipa_debug
()[source]
-
test__build_pxe_config_options_pxe_local_boot
()[source]
-
test__build_pxe_config_options_pxe_no_kernel_no_ramdisk
()[source]
-
test__build_pxe_config_options_pxe_without_is_whole_disk_image
()[source]
-
test__cache_ramdisk_kernel
(*args, **keywargs)[source]
-
test__cache_ramdisk_kernel_ipxe
(*args, **keywargs)[source]
-
test__cache_tftp_images_master_path
(*args, **keywargs)[source]
-
test__get_deploy_image_info
()[source]
-
test__get_deploy_image_info_deploy_ramdisk
()[source]
-
test__get_deploy_image_info_missing_deploy_kernel
()[source]
-
test__get_instance_image_info
()[source]
-
test__get_instance_image_info_localboot
(*args, **keywargs)[source]
-
test__get_instance_image_info_whole_disk_image
(*args, **keywargs)[source]
-
test__get_instance_image_info_without_is_whole_disk_image
()[source]
-
test__parse_driver_info
()[source]
-
test__parse_driver_info_missing_deploy_kernel
()[source]
-
test__parse_driver_info_missing_deploy_ramdisk
()[source]
-
test_validate_boot_parameters_for_trusted_boot_one
(*args, **keywargs)[source]
-
test_validate_boot_parameters_for_trusted_boot_pass
(*args, **keywargs)[source]
-
test_validate_boot_parameters_for_trusted_boot_three
(*args, **keywargs)[source]
-
test_validate_boot_parameters_for_trusted_boot_two
(*args, **keywargs)[source]