ironic/ironic/tests/unit/drivers
Dmitry Tantsur 0500fe1072 Avoid unnecessary validation in boot interfaces
Interfaces should only validate values they're going to use. Boot
interfaces do not care about image properties when local boot is used
(which is the default), so they shouldn't validate them. The deploy
interface has to provide validation for images.

This change fixes PXE, iPXE and redfish-virtual-media, although other
boot interfaces may need a similar change. We also need to refactor
handling instance_info in deploy_utils, but that can wait until the
iSCSI deploy removal.

Also refactor unit tests for redfish-virtual-media.

Story: #2008874
Task: #42418
Change-Id: Ida21f21d6435c0d7fa46cb5b1161f034ad8956ee
(cherry picked from commit e6bb99cd8f)
2021-05-10 15:45:16 +00:00
..
modules Avoid unnecessary validation in boot interfaces 2021-05-10 15:45:16 +00:00
__init__.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
ipxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_iso.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_extra_volume.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_multipath.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_no_extra_volumes.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_timeout.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ks_extra_vars.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
ks_missing_var.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
pxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
pxe_grub_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
test_base.py Use OOB inspection to fetch MACs for IB inspection 2021-02-11 17:03:18 +10:00
test_drac.py Add Redfish RAID interface to idrac HW type 2021-03-19 12:11:50 -04:00
test_fake_hardware.py Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
test_generic.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ibmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ilo.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ipmi.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_irmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_redfish.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_snmp.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_utils.py Move configuration mold utilities 2021-03-29 07:42:53 -04:00
test_xclarity.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
third_party_driver_mock_specs.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-21 06:20:08 -04:00
third_party_driver_mocks.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-21 06:20:08 -04:00