Add "qos-policy" option to "port create" & "port set"
This patch adds "qos-policy" option to "port create" command, and "qos-policy", "no-qos-policy" options to "port set" command and "qos-policy" option to "port unset". Change-Id: I78072e1ff0dd30a2e23a0fb833ce6ab5cf246016 Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com> Co-Authored-By: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
This commit is contained in:
doc/source/command-objects
openstackclient
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>
|
||||
|
||||
|
Reference in New Issue
Block a user