summaryrefslogtreecommitdiff
path: root/api-ref/regenerate-samples.sh
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2017-06-01 15:36:58 +0100
committerMark Goddard <mark@stackhpc.com>2017-07-19 17:29:20 +0100
commit02fff930fbab4caaa1181da9ee0f70523fe8d7ca (patch)
treefdfbf6496e36b3e5d30ea603837a4e3d236879e7 /api-ref/regenerate-samples.sh
parentd9983f1eecc47db7682f4faf4d885b8be87a494b (diff)
downloadironic-02fff930fbab4caaa1181da9ee0f70523fe8d7ca.tar.gz
Expose ports' physical network attribute in API
In change Ib22753aa6ae0fedce7fb9ecf63f135fda0185c5b the port data model was updated to include a physical_network field, but this was not exposed to the user by the REST API. This change exposes the physical_network field in the REST API. The port CRUD notification object has been updated to include the physical_network field. The API reference and user guide have been updated to include information about the ports' physical network field. The API microversion has been bumped to 1.34. During a rolling upgrade from Ocata when the API service is pinned, the port physical network field is hidden from API responses, and API requests including the field are rejected. Change-Id: I7023a1d6618608c867c31396fa677d3016ca493e Partial-Bug: #1666009
Diffstat (limited to 'api-ref/regenerate-samples.sh')
-rwxr-xr-xapi-ref/regenerate-samples.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/api-ref/regenerate-samples.sh b/api-ref/regenerate-samples.sh
index 7f1328216..402870985 100755
--- a/api-ref/regenerate-samples.sh
+++ b/api-ref/regenerate-samples.sh
@@ -11,7 +11,7 @@ fi
OS_AUTH_TOKEN=$(openstack token issue | grep ' id ' | awk '{print $4}')
IRONIC_URL="http://127.0.0.1:6385"
-IRONIC_API_VERSION="1.31"
+IRONIC_API_VERSION="1.34"
export OS_AUTH_TOKEN IRONIC_URL