summaryrefslogtreecommitdiff
path: root/doc/source/cli
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-23 08:12:25 +0000
committerGerrit Code Review <review@openstack.org>2018-04-23 08:12:25 +0000
commitb59de7b8494ddbde3570780214378cdb2208c482 (patch)
treec64e8ae3adafbd8e11a58d5efb4cc9c69f9a3fa1 /doc/source/cli
parentfb68cccddd019c2421d256db1e05d40f0d539d09 (diff)
parent09a0916daeeb9c257d84175a43062d5b4a1d0b1a (diff)
downloadpython-openstackclient-b59de7b8494ddbde3570780214378cdb2208c482.tar.gz
Merge "Network: Add tag support for floating ip"
Diffstat (limited to 'doc/source/cli')
-rw-r--r--doc/source/cli/command-objects/floating-ip.rst59
1 files changed, 59 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/floating-ip.rst b/doc/source/cli/command-objects/floating-ip.rst
index 925a230c..c0ba7ebf 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 <description>]
[--qos-policy <qos-policy>]
[--project <project> [--project-domain <project-domain>]]
+ [--tag <tag> | --no-tag]
<network>
.. option:: --subnet <subnet>
@@ -66,6 +67,18 @@ Create floating IP
*Network version 2 only*
+.. option:: --tag <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>
Network to allocate floating IP from (name or ID)
@@ -100,6 +113,8 @@ List floating IP(s)
[--status <status>]
[--project <project> [--project-domain <project-domain>]]
[--router <router>]
+ [--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]]
+ [--not-tags <tag>[,<tag>,...]] [--not-any-tags <tag>[,<tag>,...]]
.. option:: --network <network>
@@ -150,6 +165,30 @@ List floating IP(s)
*Network version 2 only*
+.. option:: --tags <tag>[,<tag>,...]
+
+ List floating IP(s) which have all given tag(s)
+
+ *Network version 2 only*
+
+.. option:: --any-tags <tag>[,<tag>,...]
+
+ List floating IP(s) which have any given tag(s)
+
+ *Network version 2 only*
+
+.. option:: --not-tags <tag>[,<tag>,...]
+
+ Exclude floating IP(s) which have all given tag(s)
+
+ *Network version 2 only*
+
+.. option:: --not-any-tags <tag>[,<tag>,...]
+
+ 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 <port>
[--fixed-ip-address <ip-address>]
[--qos-policy <qos-policy> | --no-qos-policy]
+ [--tag <tag>] [--no-tag]
<floating-ip>
.. option:: --port <port>
@@ -180,6 +220,15 @@ Set floating IP properties
Remove the QoS policy attached to the floating IP
+.. option:: --tag <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:: <floating-ip>
@@ -210,6 +259,7 @@ Unset floating IP Properties
openstack floating ip unset
--port
--qos-policy
+ [--tag <tag> | --all-tag]
<floating-ip>
.. option:: --port
@@ -220,6 +270,15 @@ Unset floating IP Properties
Remove the QoS policy attached to the floating IP
+.. option:: --tag <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:: <floating-ip>