summaryrefslogtreecommitdiff
path: root/doc/source/admin/notifications.rst
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 /doc/source/admin/notifications.rst
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 'doc/source/admin/notifications.rst')
-rw-r--r--doc/source/admin/notifications.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/admin/notifications.rst b/doc/source/admin/notifications.rst
index f83618502..c547b268e 100644
--- a/doc/source/admin/notifications.rst
+++ b/doc/source/admin/notifications.rst
@@ -198,13 +198,14 @@ Example of port CRUD notification::
"payload":{
"ironic_object.namespace":"ironic",
"ironic_object.name":"PortCRUDPayload",
- "ironic_object.version":"1.1",
+ "ironic_object.version":"1.2",
"ironic_object.data":{
"address": "77:66:23:34:11:b7",
"created_at": "2016-02-11T15:23:03+00:00",
"node_uuid": "5b236cab-ad4e-4220-b57c-e827e858745a",
"extra": {},
"local_link_connection": {},
+ "physical_network": "physnet1",
"portgroup_uuid": "bd2f385e-c51c-4752-82d1-7a9ec2c25f24",
"pxe_enabled": True,
"updated_at": "2016-03-27T20:41:03+00:00",