summaryrefslogtreecommitdiff
path: root/api-ref/regenerate-samples.sh
diff options
context:
space:
mode:
authorYolanda Robla <yroblamo@redhat.com>2018-07-24 13:40:44 +0200
committerYolanda Robla <yroblamo@redhat.com>2018-07-27 13:23:37 +0200
commit95a449357cbbaf5c34b810a470a5bfda447a15f5 (patch)
tree21785e04cf67f4177a30cbdf8358641a399d7ec6 /api-ref/regenerate-samples.sh
parent40af9848ac9d739632a780d178dd8912e58f0264 (diff)
downloadironic-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/regenerate-samples.sh')
-rwxr-xr-xapi-ref/regenerate-samples.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/api-ref/regenerate-samples.sh b/api-ref/regenerate-samples.sh
index 9b856a142..aebcd5f78 100755
--- a/api-ref/regenerate-samples.sh
+++ b/api-ref/regenerate-samples.sh
@@ -15,6 +15,7 @@ IRONIC_API_VERSION="1.37"
export OS_AUTH_TOKEN IRONIC_URL
+DOC_BIOS_UUID="dff29d23-1ded-43b4-8ae1-5eebb3e30de1"
DOC_CHASSIS_UUID="dff29d23-1ded-43b4-8ae1-5eebb3e30de1"
DOC_NODE_UUID="6d85703a-565d-469a-96ce-30b6de53079d"
DOC_DYNAMIC_NODE_UUID="2b045129-a906-46af-bc1a-092b294b3428"
@@ -303,6 +304,7 @@ GET v1/nodes/$NID/volume/targets?detail=True > node-volume-target-detail-respons
#####################
# Replace automatically generated UUIDs by already used in documentation
+sed -i "s/$BID/$DOC_BIOS_UUID/" *.json
sed -i "s/$CID/$DOC_CHASSIS_UUID/" *.json
sed -i "s/$NID/$DOC_NODE_UUID/" *.json
sed -i "s/$DNID/$DOC_DYNAMIC_NODE_UUID/" *.json