diff options
author | Yolanda Robla <yroblamo@redhat.com> | 2018-07-24 13:40:44 +0200 |
---|---|---|
committer | Yolanda Robla <yroblamo@redhat.com> | 2018-07-27 13:23:37 +0200 |
commit | 95a449357cbbaf5c34b810a470a5bfda447a15f5 (patch) | |
tree | 21785e04cf67f4177a30cbdf8358641a399d7ec6 /api-ref/source/baremetal-api-v1-nodes-bios.inc | |
parent | 40af9848ac9d739632a780d178dd8912e58f0264 (diff) | |
download | ironic-95a449357cbbaf5c34b810a470a5bfda447a15f5.tar.gz |
Add documentation for BIOS settings
Update api-ref documentation, to add the BIOS
settings.
Change-Id: Ic592b5fa39f0d19d5676906ecd5c8fcbebf8e25f
Diffstat (limited to 'api-ref/source/baremetal-api-v1-nodes-bios.inc')
-rw-r--r-- | api-ref/source/baremetal-api-v1-nodes-bios.inc | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/api-ref/source/baremetal-api-v1-nodes-bios.inc b/api-ref/source/baremetal-api-v1-nodes-bios.inc new file mode 100644 index 000000000..4602b134b --- /dev/null +++ b/api-ref/source/baremetal-api-v1-nodes-bios.inc @@ -0,0 +1,84 @@ +.. -*- rst -*- + +================= +Node Bios (nodes) +================= + +.. versionadded:: 1.40 + +Given a Node identifier (``uuid`` or ``name``), the API exposes the list of +all Bios settings associated with that Node. + +These endpoints do not allow modification of the Bios settings; that should be +done by using ``clean steps``. + +List all Bios settings by Node +============================== + +.. rest_method:: GET /v1/nodes/{node_ident}/bios + +Return a list of Bios settings associated with ``node_ident``. + +Normal response code: 200 + +Error codes: 404 + +Request +------- + +.. rest_parameters:: parameters.yaml + + - node_ident: node_ident + +Response +-------- + +.. rest_parameters:: parameters.yaml + + - bios: bios_settings + - created_at: created_at + - updated_at: updated_at + - links: links + - name: bios_setting_name + - value: bios_setting_value + +**Example list of a Node's Bios settings:** + +.. literalinclude:: samples/node-bios-list-response.json + + +Show single Bios setting of a Node +================================== + +.. rest_method:: GET /v1/nodes/{node_ident}/bios/{bios_setting} + +Return the content of the specific bios ``bios_setting`` associated with +``node_ident``. + +Normal response code: 200 + +Error codes: 404 + +Request +------- + +.. rest_parameters:: parameters.yaml + + - node_ident: node_ident + - bios_setting: bios_setting + +Response +-------- + +.. rest_parameters:: parameters.yaml + + - <key>: d_bios_setting + - created_at: created_at + - updated_at: updated_at + - links: links + - name: bios_setting_name + - value: bios_setting_value + +**Example details of a Node's Bios setting details:** + +.. literalinclude:: samples/node-bios-detail-response.json |