summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-03-07 20:57:23 +0000
committerGerrit Code Review <review@openstack.org>2023-03-07 20:57:23 +0000
commit7f5a01224e9c61da62dda5b630f6b2de187331bb (patch)
tree1e07fd515ec8a14a9feb60959637c4e6ba553bb5
parent8f6a0ce06e93f9448970c2b2fb6ac4357ce9d1ed (diff)
parentc0460efd06ec0059ee1b6ddb2833f77e509d88bd (diff)
downloadironic-7f5a01224e9c61da62dda5b630f6b2de187331bb.tar.gz
Merge "Add missing include for inventory API reference"
-rw-r--r--api-ref/source/baremetal-api-v1-nodes-inventory.inc8
-rw-r--r--api-ref/source/index.rst1
-rw-r--r--tox.ini2
3 files changed, 8 insertions, 3 deletions
diff --git a/api-ref/source/baremetal-api-v1-nodes-inventory.inc b/api-ref/source/baremetal-api-v1-nodes-inventory.inc
index 4c36e5aa2..ed3fb9a81 100644
--- a/api-ref/source/baremetal-api-v1-nodes-inventory.inc
+++ b/api-ref/source/baremetal-api-v1-nodes-inventory.inc
@@ -9,8 +9,12 @@ Node inventory
Given a Node identifier, the API provides access to the introspection data
associated to the Node via ``v1/nodes/{node_ident}/inventory`` endpoint.
-Fetch node inventory
-===============================
+The format inventory comes from ironic-python-agent and is currently documented
+in the `agent inventory documentation
+<https://docs.openstack.org/ironic-python-agent/latest/admin/how_it_works.html#hardware-inventory>`_.
+
+Show Node Inventory
+===================
.. rest_method:: GET /v1/nodes/{node_ident}/inventory
diff --git a/api-ref/source/index.rst b/api-ref/source/index.rst
index bb41ba6fd..12beed40e 100644
--- a/api-ref/source/index.rst
+++ b/api-ref/source/index.rst
@@ -28,6 +28,7 @@
.. include:: baremetal-api-v1-node-allocation.inc
.. include:: baremetal-api-v1-deploy-templates.inc
.. include:: baremetal-api-v1-nodes-history.inc
+.. include:: baremetal-api-v1-nodes-inventory.inc
.. include:: baremetal-api-v1-shards.inc
.. NOTE(dtantsur): keep chassis close to the end since it's semi-deprecated
.. include:: baremetal-api-v1-chassis.inc
diff --git a/tox.ini b/tox.ini
index 97ea9f707..1792d81c9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,7 +52,7 @@ commands =
# the check and gate queues.
{toxinidir}/tools/run_bashate.sh {toxinidir}
# Check the *.rst files
- doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001
+ doc8 README.rst CONTRIBUTING.rst doc/source api-ref/source --ignore D001
# Check to make sure reno releasenotes created with 'reno new'
{toxinidir}/tools/check-releasenotes.py