Add `trunk_details
to
ports
` resource
Add ``trunk_details`` attribute to ``port`` resource. This attribute is a dictionary with the trunk ID and a list of subports. Each element in the subports list is a dictionary with the subport ID, the segmentation type and segmentation ID. Related-Bug: #2074187 Change-Id: I2765b308be8af0ff2ee9faaa983f13e42fbe04f9
This commit is contained in:
@@ -76,6 +76,10 @@ class Port(_common.Resource):
|
||||
#: The UUID of PortGroup this port belongs to. Added in API microversion
|
||||
#: 1.24.
|
||||
port_group_id = resource.Body('portgroup_uuid')
|
||||
#: Read-only. The parent port trunk details dictionary, with the trunk ID
|
||||
# and the subports information (port ID, segmentation ID and segmentation
|
||||
# type).
|
||||
trunk_details = resource.Body('trunk_details', type=dict)
|
||||
#: Timestamp at which the port was last updated.
|
||||
updated_at = resource.Body('updated_at')
|
||||
|
||||
|
@@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add ``trunk_details`` attribute to ``port`` resource. This attribute is
|
||||
a dictionary with the trunk ID and a list of subports. Each element in the
|
||||
subports list is a dictionary with the subport ID, the segmentation type
|
||||
and segmentation ID.
|
Reference in New Issue
Block a user