Merge "Add "qos-policy" option to "port create" & "port set""

This commit is contained in:
Jenkins
2017-04-06 01:43:44 +00:00
committed by Gerrit Code Review
5 changed files with 112 additions and 3 deletions
doc/source/command-objects
openstackclient
network
tests
releasenotes/notes

@ -30,6 +30,7 @@ Create new port
[--security-group <security-group> | --no-security-group]
[--dns-name <dns-name>]
[--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
[--qos-policy <qos-policy>]
[--project <project> [--project-domain <project-domain>]]
[--enable-port-security | --disable-port-security]
<name>
@ -104,6 +105,10 @@ Create new port
ip-address=<ip-address>[,mac-address=<mac-address>]
(repeat option to set multiple allowed-address pairs)
.. option:: --qos-policy <qos-policy>
Attach QoS policy to this port (name or ID)
.. option:: --project <project>
Owner's project (name or ID)
@ -217,6 +222,7 @@ Set port properties
[--binding-profile <binding-profile>]
[--no-binding-profile]
[--host <host-id>]
[--qos-policy <qos-policy>]
[--enable | --disable]
[--name <name>]
[--mac-address <mac-address>]
@ -274,6 +280,10 @@ Set port properties
Allocate port on host ``<host-id>`` (ID only)
.. option:: --qos-policy <qos-policy>
Attach QoS policy to this port (name or ID)
.. option:: --enable
Enable port
@ -359,6 +369,7 @@ Unset port properties
[--binding-profile <binding-profile-key> [...]]
[--security-group <security-group> [...]]
[--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>] [...]]
[--qos-policy]
<port>
.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>
@ -383,6 +394,10 @@ Unset port properties
ip-address=<ip-address>[,mac-address=<mac-address>]
(repeat option to unset multiple allowed-address pairs)
.. option:: --qos-policy
Remove the QoS policy attached to the port
.. _port_unset-port:
.. describe:: <port>