Add api-ref for new port fields
API microversions 1.18, 1.19 introduced new fields in Port resource, this change adds them to api-ref documentation. Partial-bug: #1526403 Change-Id: Ib7059fd1ec8ffc54fa34647cc558fb8c8e80f8d7
This commit is contained in:
parent
79439274bb
commit
395069cbef
@ -81,6 +81,9 @@ Response
|
||||
- uuid: uuid
|
||||
- address: port_address
|
||||
- node_uuid: node_uuid
|
||||
- local_link_connection: local_link_connection
|
||||
- pxe_enabled: pxe_enabled
|
||||
- internal_info: internal_info
|
||||
- extra: extra
|
||||
- created_at: created_at
|
||||
- updated_at: updated_at
|
||||
|
@ -102,6 +102,9 @@ Response
|
||||
- uuid: uuid
|
||||
- address: port_address
|
||||
- node_uuid: node_uuid
|
||||
- local_link_connection: local_link_connection
|
||||
- pxe_enabled: pxe_enabled
|
||||
- internal_info: internal_info
|
||||
- extra: extra
|
||||
- created_at: created_at
|
||||
- updated_at: updated_at
|
||||
@ -148,6 +151,9 @@ Response
|
||||
- uuid: uuid
|
||||
- address: port_address
|
||||
- node_uuid: node_uuid
|
||||
- local_link_connection: local_link_connection
|
||||
- pxe_enabled: pxe_enabled
|
||||
- internal_info: internal_info
|
||||
- extra: extra
|
||||
- created_at: created_at
|
||||
- updated_at: updated_at
|
||||
@ -188,6 +194,9 @@ Response
|
||||
- uuid: uuid
|
||||
- address: port_address
|
||||
- node_uuid: node_uuid
|
||||
- local_link_connection: local_link_connection
|
||||
- pxe_enabled: pxe_enabled
|
||||
- internal_info: internal_info
|
||||
- extra: extra
|
||||
- created_at: created_at
|
||||
- updated_at: updated_at
|
||||
@ -231,6 +240,9 @@ Response
|
||||
- uuid: uuid
|
||||
- address: port_address
|
||||
- node_uuid: node_uuid
|
||||
- local_link_connection: local_link_connection
|
||||
- pxe_enabled: pxe_enabled
|
||||
- internal_info: internal_info
|
||||
- extra: extra
|
||||
- created_at: created_at
|
||||
- updated_at: updated_at
|
||||
|
@ -336,6 +336,13 @@ instance_uuid:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
internal_info:
|
||||
description: |
|
||||
Internal metadata set and stored by the Port. This field is read-only.
|
||||
Added in API microversion 1.18.
|
||||
in: body
|
||||
required: true
|
||||
type: JSON
|
||||
last_error:
|
||||
description: |
|
||||
Any error from the most recent (last) transaction that started but failed to finish.
|
||||
@ -349,6 +356,17 @@ links:
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
local_link_connection:
|
||||
description: |
|
||||
The Port binding profile. If specified, must contain ``switch_id`` (only
|
||||
a MAC address or an OpenFlow based datapath_id of the switch are accepted
|
||||
in this field) and ``port_id`` (identifier of the physical port on the
|
||||
switch to which node's port is connected to) fields. ``switch_info`` is an
|
||||
optional string field to be used to store any vendor-specific information.
|
||||
Added in API microversion 1.19.
|
||||
in: body
|
||||
required: true
|
||||
type: JSON
|
||||
maintenance:
|
||||
description: |
|
||||
Whether or not this Node is currently in "maintenance mode". Setting a Node
|
||||
@ -485,6 +503,13 @@ provision_updated_at:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
pxe_enabled:
|
||||
description: |
|
||||
Indicates whether PXE is enabled or disabled on the Port. Added in API
|
||||
microversion 1.19.
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
r_driver_name:
|
||||
description: |
|
||||
The name of the driver used to manage this Node.
|
||||
|
@ -16,7 +16,14 @@
|
||||
}
|
||||
],
|
||||
"created_at" : "2016-05-05T22:30:57+00:00",
|
||||
"uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2"
|
||||
"uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2",
|
||||
"pxe_enabled": true,
|
||||
"local_link_connection": {
|
||||
"switch_id": "0a:1b:2c:3d:4e:5f",
|
||||
"port_id": "Ethernet3/1",
|
||||
"switch_info": "switch1"
|
||||
},
|
||||
"internal_info": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,4 +1,9 @@
|
||||
{
|
||||
"node_uuid": "ecddf26d-8c9c-4ddf-8f45-fd57e09ccddb",
|
||||
"address": "11:11:11:11:11:11"
|
||||
"address": "11:11:11:11:11:11",
|
||||
"local_link_connection": {
|
||||
"switch_id": "0a:1b:2c:3d:4e:5f",
|
||||
"port_id": "Ethernet3/1",
|
||||
"switch_info": "switch1"
|
||||
}
|
||||
}
|
@ -14,5 +14,12 @@
|
||||
"address" : "11:11:11:11:11:11",
|
||||
"updated_at" : null,
|
||||
"node_uuid" : "ecddf26d-8c9c-4ddf-8f45-fd57e09ccddb",
|
||||
"uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2"
|
||||
"uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2",
|
||||
"pxe_enabled": true,
|
||||
"local_link_connection": {
|
||||
"switch_id": "0a:1b:2c:3d:4e:5f",
|
||||
"port_id": "Ethernet3/1",
|
||||
"switch_info": "switch1"
|
||||
},
|
||||
"internal_info": {}
|
||||
}
|
||||
|
@ -16,7 +16,14 @@
|
||||
"rel" : "bookmark"
|
||||
}
|
||||
],
|
||||
"created_at" : "2016-05-05T22:30:57+00:00"
|
||||
"created_at" : "2016-05-05T22:30:57+00:00",
|
||||
"pxe_enabled": true,
|
||||
"local_link_connection": {
|
||||
"switch_id": "0a:1b:2c:3d:4e:5f",
|
||||
"port_id": "Ethernet3/1",
|
||||
"switch_info": "switch1"
|
||||
},
|
||||
"internal_info": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -14,5 +14,12 @@
|
||||
"rel" : "bookmark"
|
||||
}
|
||||
],
|
||||
"created_at" : "2016-05-05T22:30:57+00:00"
|
||||
"created_at" : "2016-05-05T22:30:57+00:00",
|
||||
"pxe_enabled": true,
|
||||
"local_link_connection": {
|
||||
"switch_id": "0a:1b:2c:3d:4e:5f",
|
||||
"port_id": "Ethernet3/1",
|
||||
"switch_info": "switch1"
|
||||
},
|
||||
"internal_info": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user