Merge "Fix rendering of Redfish properties in the documentation"

This commit is contained in:
Zuul 2024-07-04 17:27:24 +00:00 committed by Gerrit Code Review
commit eda09db2a6

View File

@ -70,48 +70,44 @@ set to ``redfish``.
The following properties are specified in the node's ``driver_info`` The following properties are specified in the node's ``driver_info``
field: field:
- ``redfish_address``: The URL address to the Redfish controller. It must ``redfish_address``
include the authority portion of the URL, and can The URL address to the Redfish controller. It must include the authority
optionally include the scheme. If the scheme is portion of the URL, and can optionally include the scheme. If the scheme is
missing, https is assumed. missing, https is assumed. For example: ``https://mgmt.vendor.com``. This
For example: https://mgmt.vendor.com. This is required. is required.
- ``redfish_system_id``: The canonical path to the ComputerSystem resource ``redfish_system_id``
that the driver will interact with. It should include The canonical path to the ComputerSystem resource that the driver will
the root service, version and the unique resource interact with. It should include the root service, version and the unique
path to the ComputerSystem. This property is only resource path to the ComputerSystem. This property is only required if
required if target BMC manages more than one target BMC manages more than one ComputerSystem. Otherwise ironic will pick
ComputerSystem. Otherwise ironic will pick the only the only available ComputerSystem automatically. For example:
available ComputerSystem automatically. For ``/redfish/v1/Systems/1``.
example: /redfish/v1/Systems/1.
- ``redfish_username``: User account with admin/server-profile access ``redfish_username``
privilege. Although not required, it is highly User account with admin/server-profile access privilege. Although not
recommended. required, it is highly recommended.
- ``redfish_password``: User account password. Although not required, it is ``redfish_password``
highly recommended. User account password. Although not required, it is highly recommended.
- ``redfish_verify_ca``: If redfish_address has the **https** scheme, the ``redfish_verify_ca``
driver will use a secure (TLS_) connection when If ``redfish_address`` has the ``https://`` scheme, the driver will use a
talking to the Redfish controller. By default secure (TLS_) connection when talking to the Redfish controller. By default
(if this is not set or set to True), the driver (if this is not set or set to ``True``), the driver will try to verify the
will try to verify the host certificates. This host certificates. This can be set to the path of a certificate file or
can be set to the path of a certificate file or directory with trusted certificates that the driver will use for
directory with trusted certificates that the verification. To disable verifying TLS_, set this to ``False``. This is
driver will use for verification. To disable optional.
verifying TLS_, set this to False. This is optional.
- ``redfish_auth_type``: Redfish HTTP client authentication method. Can be ``redfish_auth_type``
"basic", "session" or "auto". Redfish HTTP client authentication method. Can be ``basic``, ``session`` or
The "auto" mode first tries "session" and falls back ``auto``. The ``auto`` mode first tries ``session`` and falls back to
to "basic" if session authentication is not supported ``basic`` if session authentication is not supported by the Redfish BMC.
by the Redfish BMC. Default is set in ironic config Default is set in ironic config as :oslo.config:option:`redfish.auth_type`.
as ``[redfish]auth_type``. Most operators should not Most operators should not need to leverage this setting. Session based
need to leverage this setting. Session based authentication should generally be used in most cases as it prevents
authentication should generally be used in most re-authentication every time a background task checks in with the BMC.
cases as it prevents re-authentication every time
a background task checks in with the BMC.
.. note:: .. note::
The ``redfish_address``, ``redfish_username``, ``redfish_password``, The ``redfish_address``, ``redfish_username``, ``redfish_password``,