summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorHa Van Tu <tuhv@vn.fujitsu.com>2017-01-12 09:57:53 +0700
committerDean Troyer <dtroyer@gmail.com>2017-04-05 15:56:52 +0000
commit5ff2cfd042de7afc4323a3b306ff5be1882fba46 (patch)
tree9cb5fc568157e31c5ec01490ca56da89c0e51192 /doc/source/command-objects
parent65b61d3a9c08a43cc0746ac17fec00682a720913 (diff)
downloadpython-openstackclient-5ff2cfd042de7afc4323a3b306ff5be1882fba46.tar.gz
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
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index ddfbb445..b3f4c7f9 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -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>