From cf91d7a2f46b4a8546169a4836cc64476fce44d8 Mon Sep 17 00:00:00 2001 From: LIU Yulong Date: Sun, 5 Nov 2017 12:05:09 +0800 Subject: Add floating IP qos_policy actions Now we can associate a qos policy to the floating IP, and dissociate it. The commands are: $ openstack floating ip create --qos-policy ... $ openstack floating ip set --qos-policy ... $ openstack floating ip set --no-qos-policy ... $ openstack floating ip unset --qos-policy These commands are based on the neutron change: I4efe9e49d268dffeb3df4de4ea1780152218633b Partially-Implements blueprint: floating-ip-rate-limit Change-Id: I932b32f78cc5a2b53926feaec1a0b392cf7e8b57 --- doc/source/cli/command-objects/floating-ip.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/source/cli/command-objects') diff --git a/doc/source/cli/command-objects/floating-ip.rst b/doc/source/cli/command-objects/floating-ip.rst index f2f101d3..d9ed2307 100644 --- a/doc/source/cli/command-objects/floating-ip.rst +++ b/doc/source/cli/command-objects/floating-ip.rst @@ -18,6 +18,7 @@ Create floating IP [--floating-ip-address ] [--fixed-ip-address ] [--description ] + [--qos-policy ] [--project [--project-domain ]] @@ -46,6 +47,12 @@ Create floating IP Set floating IP description *Network version 2 only* +.. option:: --qos-policy + + QoS policy to attach to the floating IP (name or ID) + + *Network version 2 only* + .. option:: --project Owner's project (name or ID) @@ -154,6 +161,7 @@ Set floating IP properties openstack floating ip set --port [--fixed-ip-address ] + [--qos-policy | --no-qos-policy] .. option:: --port @@ -164,6 +172,14 @@ Set floating IP properties Fixed IP of the port (required only if port has multiple IPs) +.. option:: --qos-policy + + Attach QoS policy to the floating IP (name or ID) + +.. option:: --no-qos-policy + + Remove the QoS policy attached to the floating IP + .. _floating_ip_set-floating-ip: .. describe:: @@ -193,12 +209,17 @@ Unset floating IP Properties openstack floating ip unset --port + --qos-policy .. option:: --port Disassociate any port associated with the floating IP +.. option:: --qos-policy + + Remove the QoS policy attached to the floating IP + .. _floating_ip_unset-floating-ip: .. describe:: -- cgit v1.2.1