From 5ff2cfd042de7afc4323a3b306ff5be1882fba46 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Thu, 12 Jan 2017 09:57:53 +0700 Subject: 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 Co-Authored-By: Rodolfo Alonso Hernandez Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options --- doc/source/command-objects/port.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/source/command-objects') 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 | --no-security-group] [--dns-name ] [--allowed-address ip-address=[,mac-address=]] + [--qos-policy ] [--project [--project-domain ]] [--enable-port-security | --disable-port-security] @@ -104,6 +105,10 @@ Create new port ip-address=[,mac-address=] (repeat option to set multiple allowed-address pairs) +.. option:: --qos-policy + + Attach QoS policy to this port (name or ID) + .. option:: --project Owner's project (name or ID) @@ -217,6 +222,7 @@ Set port properties [--binding-profile ] [--no-binding-profile] [--host ] + [--qos-policy ] [--enable | --disable] [--name ] [--mac-address ] @@ -274,6 +280,10 @@ Set port properties Allocate port on host ```` (ID only) +.. option:: --qos-policy + + Attach QoS policy to this port (name or ID) + .. option:: --enable Enable port @@ -359,6 +369,7 @@ Unset port properties [--binding-profile [...]] [--security-group [...]] [--allowed-address ip-address=[,mac-address=] [...]] + [--qos-policy] .. option:: --fixed-ip subnet=,ip-address= @@ -383,6 +394,10 @@ Unset port properties ip-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:: -- cgit v1.2.1