From 09a0916daeeb9c257d84175a43062d5b4a1d0b1a Mon Sep 17 00:00:00 2001 From: Dongcan Ye Date: Fri, 23 Feb 2018 08:03:12 +0000 Subject: Network: Add tag support for floating ip Change-Id: I7a500a4ff6cec2442b4050df26c0b017d9f71903 Closes-Bug: #1750985 --- doc/source/cli/command-objects/floating-ip.rst | 59 ++++++++++++++++++++++++++ 1 file changed, 59 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 d9ed2307..7efdbd85 100644 --- a/doc/source/cli/command-objects/floating-ip.rst +++ b/doc/source/cli/command-objects/floating-ip.rst @@ -20,6 +20,7 @@ Create floating IP [--description ] [--qos-policy ] [--project [--project-domain ]] + [--tag | --no-tag] .. option:: --subnet @@ -66,6 +67,18 @@ Create floating IP *Network version 2 only* +.. option:: --tag + + Tag to be added to the floating IP (repeat option to set multiple tags) + + *Network version 2 only* + +.. option:: --no-tag + + No tags associated with the floating IP + + *Network version 2 only* + .. describe:: Network to allocate floating IP from (name or ID) @@ -100,6 +113,8 @@ List floating IP(s) [--status ] [--project [--project-domain ]] [--router ] + [--tags [,,...]] [--any-tags [,,...]] + [--not-tags [,,...]] [--not-any-tags [,,...]] .. option:: --network @@ -150,6 +165,30 @@ List floating IP(s) *Network version 2 only* +.. option:: --tags [,,...] + + List floating IP(s) which have all given tag(s) + + *Network version 2 only* + +.. option:: --any-tags [,,...] + + List floating IP(s) which have any given tag(s) + + *Network version 2 only* + +.. option:: --not-tags [,,...] + + Exclude floating IP(s) which have all given tag(s) + + *Network version 2 only* + +.. option:: --not-any-tags [,,...] + + Exclude floating IP(s) which have any given tag(s) + + *Network version 2 only* + floating ip set --------------- @@ -162,6 +201,7 @@ Set floating IP properties --port [--fixed-ip-address ] [--qos-policy | --no-qos-policy] + [--tag ] [--no-tag] .. option:: --port @@ -180,6 +220,15 @@ Set floating IP properties Remove the QoS policy attached to the floating IP +.. option:: --tag + + Tag to be added to the floating IP (repeat option to set multiple tags) + +.. option:: --no-tag + + Clear tags associated with the floating IP. Specify both --tag + and --no-tag to overwrite current tags + .. _floating_ip_set-floating-ip: .. describe:: @@ -210,6 +259,7 @@ Unset floating IP Properties openstack floating ip unset --port --qos-policy + [--tag | --all-tag] .. option:: --port @@ -220,6 +270,15 @@ Unset floating IP Properties Remove the QoS policy attached to the floating IP +.. option:: --tag + + Tag to be removed from the floating IP + (repeat option to remove multiple tags) + +.. option:: --all-tag + + Clear all tags associated with the floating IP + .. _floating_ip_unset-floating-ip: .. describe:: -- cgit v1.2.1