Merge "Add a section to redfish doc for BIOS registry fields"
This commit is contained in:
commit
33842cda0d
@ -507,36 +507,31 @@ bios_interface:
|
|||||||
type: string
|
type: string
|
||||||
bios_setting_allowable_values:
|
bios_setting_allowable_values:
|
||||||
description: |
|
description: |
|
||||||
A list of allowable values when the attribute_type is "Enumeration",
|
A list of allowable values, otherwise ``null``.
|
||||||
otherwise None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
bios_setting_attribute_type:
|
bios_setting_attribute_type:
|
||||||
description: |
|
description: |
|
||||||
A string describing the type of the Bios setting - "Enumeration",
|
A string describing the type of the Bios setting. May be ``null``.
|
||||||
"Integer", "String", "Boolean", or "Password". May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
bios_setting_lower_bound:
|
bios_setting_lower_bound:
|
||||||
description: |
|
description: |
|
||||||
The lowest allowed value when attribute_type is "Integer".
|
The lowest allowed integer value. May be ``null``.
|
||||||
May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
bios_setting_max_length:
|
bios_setting_max_length:
|
||||||
description: |
|
description: |
|
||||||
The maximum length when attribute_type is "String".
|
The maximum string length of the value. May be ``null``.
|
||||||
May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
bios_setting_min_length:
|
bios_setting_min_length:
|
||||||
description: |
|
description: |
|
||||||
The minimum length when attribute_type is "String".
|
The minimum string length of the value. May be ``null``.
|
||||||
May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -562,15 +557,13 @@ bios_setting_reset_required:
|
|||||||
type: boolean
|
type: boolean
|
||||||
bios_setting_unique:
|
bios_setting_unique:
|
||||||
description: |
|
description: |
|
||||||
This Bios setting is unique to this node.
|
This Bios setting is unique to this node. May be ``null``.
|
||||||
May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
bios_setting_upper_bound:
|
bios_setting_upper_bound:
|
||||||
description: |
|
description: |
|
||||||
The lowest allowed value when attribute_type is "Integer".
|
The highest allowed integer value. May be ``null``.
|
||||||
May be None.
|
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -478,7 +478,33 @@ In the following example, the JSON is specified directly on the command line::
|
|||||||
firmware may result in devices in the server, or the server itself becoming
|
firmware may result in devices in the server, or the server itself becoming
|
||||||
inoperable.
|
inoperable.
|
||||||
|
|
||||||
|
Retrieving BIOS Settings
|
||||||
|
========================
|
||||||
|
|
||||||
|
When the :doc:`bios interface </admin/bios>` is set to ``redfish``, Ironic will
|
||||||
|
retrieve the node's BIOS settings as described in `BIOS Configuration`_. In
|
||||||
|
addition, via Sushy_, Ironic will get the BIOS Attribute Registry
|
||||||
|
(`BIOS Registry`_) from the node which is a schema providing details on the
|
||||||
|
settings. The following fields will be returned in the BIOS API
|
||||||
|
(``/v1/nodes/{node_ident}/bios``) along with the setting name and value:
|
||||||
|
|
||||||
|
.. csv-table::
|
||||||
|
:header: "Field", "Description"
|
||||||
|
:widths: 25, 120
|
||||||
|
|
||||||
|
"``attribute_type``", "The type of setting - ``Enumeration``, ``Integer``, ``String``, ``Boolean``, or ``Password``"
|
||||||
|
"``allowable_values``", "A list of allowable values when the attribute_type is ``Enumeration``"
|
||||||
|
"``lower_bound``", "The lowest allowed value when attribute_type is ``Integer``"
|
||||||
|
"``upper_bound``", "The highest allowed value when attribute_type is ``Integer``"
|
||||||
|
"``min_length``", "The shortest string length that the value can have when attribute_type is ``String``"
|
||||||
|
"``max_length``", "The longest string length that the value can have when attribute_type is ``String``"
|
||||||
|
"``read_only``", "The setting is ready only and cannot be modified"
|
||||||
|
"``unique``", "The setting is specific to this node"
|
||||||
|
"``reset_required``", "After changing this setting a node reboot is required"
|
||||||
|
|
||||||
.. _Redfish: http://redfish.dmtf.org/
|
.. _Redfish: http://redfish.dmtf.org/
|
||||||
.. _Sushy: https://opendev.org/openstack/sushy
|
.. _Sushy: https://opendev.org/openstack/sushy
|
||||||
.. _TLS: https://en.wikipedia.org/wiki/Transport_Layer_Security
|
.. _TLS: https://en.wikipedia.org/wiki/Transport_Layer_Security
|
||||||
.. _ESP: https://wiki.ubuntu.com/EFIBootLoaders#Booting_from_EFI
|
.. _ESP: https://wiki.ubuntu.com/EFIBootLoaders#Booting_from_EFI
|
||||||
|
.. _`BIOS Registry`: https://redfish.dmtf.org/schemas/v1/AttributeRegistry.v1_3_5.json
|
||||||
|
.. _`BIOS Configuration`: https://docs.openstack.org/ironic/latest/admin/bios.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user