ironic/ironic/drivers/modules
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
..
ansible Allow ansible deploys to be fast-tracked 2021-03-16 14:58:42 +00:00
drac Fix idrac-wsman BIOS factory_reset result finding 2021-04-21 06:20:08 -04:00
ibmc Replace retrying with tenacity 2021-02-15 17:11:33 +01:00
ilo Always add 'boot_method' vmedia in redfish/ilo vmedia boot 2021-03-29 10:41:47 -07:00
intel_ipmi Follow-up to the IntelIPMIHardware patch 2019-07-26 15:51:20 +05:30
irmc Switch iLO and iRMC to the new secure boot framework 2021-02-25 12:19:34 +01:00
network Remove extra/vif_port_id 2021-03-22 12:04:18 -07:00
redfish Avoid unnecessary validation in boot interfaces 2021-05-10 15:45:16 +00:00
storage Replace retrying with tenacity 2021-02-15 17:11:33 +01:00
xclarity Fix :param: in docstring 2019-06-14 14:23:57 +08:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
agent.py Process in-band deploy steps on fast-track 2021-04-28 16:23:10 +00:00
agent_base.py Remove a pause before cleaning when fast-tracking 2021-04-28 12:23:27 +00:00
agent_client.py Fix deployment when executing a command fails after the command starts 2021-05-07 18:03:47 +02:00
agent_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
agent_power.py Replace retrying with tenacity 2021-02-15 17:11:33 +01:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
boot_mode_utils.py Make boot_mode more consistent with other capabilities 2021-02-02 12:06:17 +01:00
console_utils.py Fix console auto port allocation under IPv6 2020-08-05 22:46:24 +08:00
deploy_utils.py Remove a pause before cleaning when fast-tracking 2021-04-28 12:23:27 +00:00
fake.py Add indicator management harness to ManagementInterface 2019-08-26 12:05:29 +02:00
image_cache.py Raw image size estimation improved 2021-01-19 19:57:01 +00:00
image_utils.py Provide an option to not cache bootable iso ramdisks 2021-05-05 21:04:25 +00:00
inspect_utils.py Fix ironic port creation after Redfish inspection 2019-01-08 12:27:28 +00:00
inspector.py Follow up of Use OOB inspection to fetch MACs for IB inspection 2021-03-24 20:15:31 +10:00
ipmitool.py Follow-up Automaticaly set cipher suite 2021-04-01 10:36:39 +00:00
ipxe.py Finalize removal of ipxe_enabled option 2020-02-21 14:25:01 +08:00
ipxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
iscsi_deploy.py [trivial] Remove default parameter from execute 2021-02-24 10:35:14 +01:00
ks.cfg.template Add agent_status and agent_status_message params to heartbeat 2021-03-31 14:20:39 -07:00
master_grub_cfg.txt Change PXE logic to always link macs with UEFI 2018-07-30 07:57:16 -07:00
noop.py [Trivial] Fix typo in noop interface comment 2019-01-25 10:52:53 +01:00
noop_mgmt.py Add "noop" management and use it in the "ipmi" hardware type 2018-08-07 13:25:50 +00:00
pxe.py Add agent_status and agent_status_message params to heartbeat 2021-03-31 14:20:39 -07:00
pxe_base.py Avoid unnecessary validation in boot interfaces 2021-05-10 15:45:16 +00: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
snmp.py Use property plus abstractmethod for abstractproperty 2020-08-06 11:34:23 +02:00