Add missing compatibility between idrac and redfish firmware

Change-Id: I3026a5c69930825ea2b88587e62b36e8824fa91e
(cherry picked from commit 6e10ad9ad7548ca698055e882e3c45e5d962598c)
This commit is contained in:
Dmitry Tantsur 2023-11-28 18:52:04 +01:00 committed by Jay Faulkner
parent c6089dc5e0
commit d385c4a4da
3 changed files with 12 additions and 0 deletions
doc/source/admin/drivers
ironic/drivers
releasenotes/notes

@ -81,6 +81,7 @@ following configuration:
[DEFAULT]
enabled_hardware_types=idrac
enabled_bios_interfaces=idrac-redfish
enabled_firmware_interfaces=redfish
enabled_inspect_interfaces=idrac-redfish
enabled_management_interfaces=idrac-redfish
enabled_power_interfaces=idrac-redfish
@ -97,6 +98,7 @@ Interface Supported Implementations
``boot`` ``ipxe``, ``pxe``, ``idrac-redfish-virtual-media``
``console`` ``no-console``
``deploy`` ``direct``, ``ansible``, ``ramdisk``
``firmware`` ``redfish``, ``no-firmware``
``inspect`` ``idrac-wsman``, ``idrac``, ``idrac-redfish``,
``inspector``, ``no-inspect``
``management`` ``idrac-wsman``, ``idrac``, ``idrac-redfish``

@ -28,6 +28,7 @@ from ironic.drivers.modules.drac import vendor_passthru
from ironic.drivers.modules import ipxe
from ironic.drivers.modules import noop
from ironic.drivers.modules import pxe
from ironic.drivers.modules.redfish import firmware as redfish_firmware
CONF = cfg.CONF
@ -61,6 +62,10 @@ class IDRACHardware(generic.GenericHardware):
"""List of supported bios interfaces."""
return [bios.DracWSManBIOS, bios.DracRedfishBIOS, noop.NoBIOS]
@property
def supported_firmware_interfaces(self):
return [redfish_firmware.RedfishFirmware, noop.NoFirmware]
@property
def supported_inspect_interfaces(self):
"""List of supported inspect interfaces."""

@ -0,0 +1,5 @@
---
fixes:
- |
The ``idrac`` hardware type is now compatible with the ``redfish`` firmware
interface. The link between them was missing initially.