Merge "redfish: permit ipmitool-socat console for redfish usage"

This commit is contained in:
Zuul 2025-04-06 15:26:59 +00:00 committed by Gerrit Code Review
commit 50ff593e6b
3 changed files with 18 additions and 2 deletions

View File

@ -213,7 +213,12 @@ Node serial console
-------------------
Serial consoles for nodes are implemented using `socat`_. It is supported by
the ``ipmi`` and ``irmc`` hardware types.
the ``ipmi``, ``irmc``, and ``redfish`` hardware types.
.. NOTE::
The use of the ``ipmitool-socat`` console interface on any hardware type
requires the ipmi connection parameters to be set into the ``driver_info``
filed on the node.
Serial consoles can be configured in the Bare Metal service as follows:

View File

@ -15,6 +15,7 @@
from ironic.drivers import generic
from ironic.drivers.modules import agent
from ironic.drivers.modules import ipmitool
from ironic.drivers.modules import noop
from ironic.drivers.modules import noop_mgmt
from ironic.drivers.modules.redfish import bios as redfish_bios
@ -78,4 +79,6 @@ class RedfishHardware(generic.GenericHardware):
@property
def supported_console_interfaces(self):
"""List of supported console interfaces."""
return [graphical_console.RedfishGraphicalConsole, noop.NoConsole]
return [graphical_console.RedfishGraphicalConsole,
ipmitool.IPMISocatConsole,
noop.NoConsole]

View File

@ -0,0 +1,8 @@
---
features:
- |
The ``ipmitool-socat`` console interface is now available for users of the
``redfish`` hardware type. This was done as an enablement action for
operators to be able to leverage IPMI based Serial-over-Lan connections.
This option requires the IPMI parameters to be configured on the baremetal
node in addition to the ``redfish`` hardware type.