heat/releasenotes/notes/neutron-port-network-attribute-14d2eeb481b25fa8.yaml
Harald Jensås 93feb34539 OS::Neutron::Port: Add network attribute
Adds attribute 'network' to the port resource.

Similar to the existing subnets attribute which returns
a list of all subnets. The network attribute returns
the properties of the neutron network.

Story: 1766946
Task: 18792
Change-Id: I6c667a0ff2c15aa27ca0d7943359e7f595630f87
2018-07-20 10:40:15 +02:00

14 lines
524 B
YAML

---
features:
- |
Added ``network`` attribute to OS::Neutron::Port resource. The new
attribute returns the neutron network that owns the port. The following
examples demonstrate some (not all) possible expressions. (Obtains the
network, the MTU (Maximum transmission unit), the network tags and finally
the l2_adjacency property)::
{get_attr: [<port>, network]}
{get_attr: [<port>, network, mtu]}
{get_attr: [<port>, network, tags]}
{get_attr: [<port>, network, l2_adjacency]}