Add missing compatibility between idrac and redfish firmware

Change-Id: I3026a5c69930825ea2b88587e62b36e8824fa91e
This commit is contained in:
Dmitry Tantsur 2023-11-28 18:52:04 +01:00
parent 28b3f56b2c
commit 6e10ad9ad7
No known key found for this signature in database
GPG Key ID: 315B2AF9FD216C60
3 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

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