Add BIOS settings doc

Change-Id: I6290e5fc49420709f5a693f8294360d28b1f6ef5
This commit is contained in:
Zenghui Shi 2018-06-22 11:35:41 +08:00 committed by Harald Jensås
parent e11b160325
commit faa3af3c33
2 changed files with 52 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Documentation on how to do advanced configuration of baremetal nodes in
node_states
cleaning
bios_settings
node_discovery
root_device
introspect_single_node

View File

@ -0,0 +1,51 @@
BIOS Settings
=============
Tripleo can support BIOS configuration for bare metal nodes via node manual
:doc:`cleaning`. Several commands are added to allow administrator to apply
and reset BIOS settings.
Apply BIOS settings
-------------------
#. To apply given BIOS configuration to all manageable nodes::
openstack overcloud node bios configure --configuration <..> --all-manageable
#. To apply given BIOS configuration to specified nodes::
openstack overcloud node bios configure --configuration <..> node_uuid1 node_uuid2 ..
The configuration parameter passed to above commands must be YAML/JSON string
or a file name which contains YAML/JSON string of BIOS settings, for example::
{
"settings": [
{
"name": "setting name",
"value": "setting value"
},
{
"name": "setting name",
"value": "setting value"
},
..
]
}
With the parameter ``--all-manageable``, the command applies given BIOS
settings to all manageable nodes.
With the parameter ``node_uuid1 node_uuid2``, the command applies given BIOS
settings to nodes which uuid equal to ``node_uuid1`` and ``node_uuid2``.
Reset BIOS settings
-------------------
#. To reset the BIOS configuration to factory default on specified nodes::
openstack overcloud node bios reset --all-manageable
#. To reset the BIOS configuration on specified nodes::
openstack overcloud node bios reset node_uuid1 node_uuid2 ..