summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-25 01:05:16 +0000
committerGerrit Code Review <review@openstack.org>2018-02-25 01:05:16 +0000
commitd6761f093608247846acb946cbe2bbdf91e21d0d (patch)
tree03e20ba722bd4051b13ff77b27325ae0e6cb4fde /doc/source/cli/command-objects
parent1b5cab40b54ad2436c5d8b35369b0d802c75837d (diff)
parentd32664150fbc00340f3ff4304c13abf9a191299a (diff)
downloadpython-openstackclient-d6761f093608247846acb946cbe2bbdf91e21d0d.tar.gz
Merge "Add project tags functionality"
Diffstat (limited to 'doc/source/cli/command-objects')
-rw-r--r--doc/source/cli/command-objects/project.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/project.rst b/doc/source/cli/command-objects/project.rst
index cb0941ca..6891a79a 100644
--- a/doc/source/cli/command-objects/project.rst
+++ b/doc/source/cli/command-objects/project.rst
@@ -19,6 +19,7 @@ Create new project
[--enable | --disable]
[--property <key=value>]
[--or-show]
+ [--tag <tag>]
<name>
.. option:: --domain <domain>
@@ -56,6 +57,13 @@ Create new project
If the project already exists return the existing project data and do not fail.
+.. option:: --tag
+
+ Add a tag to the project
+ (repeat option to set multiple tags)
+
+ .. versionadded:: 3
+
.. _project_create-name:
.. describe:: <name>
@@ -98,6 +106,8 @@ List projects
[--my-projects]
[--long]
[--sort <key>[:<direction>,<key>:<direction>,..]]
+ [--tags <tag>[,<tag>,...]] [--tags-any <tag>[,<tag>,...]]
+ [--not-tags <tag>[,<tag>,...]] [--not-tags-any <tag>[,<tag>,...]]
.. option:: --domain <domain>
@@ -127,6 +137,30 @@ List projects
multiple keys and directions can be specified --sort
<key>[:<direction>,<key>:<direction>,..]
+.. option:: --tags <tag>[,<tag>,...]
+
+ List projects which have all given tag(s)
+
+ .. versionadded:: 3
+
+.. option:: --tags-any <tag>[,<tag>,...]
+
+ List projects which have any given tag(s)
+
+ .. versionadded:: 3
+
+.. option:: --not-tags <tag>[,<tag>,...]
+
+ Exclude projects which have all given tag(s)
+
+ .. versionadded:: 3
+
+.. option:: --not-tags-any <tag>[,<tag>,...]
+
+ Exclude projects which have any given tag(s)
+
+ .. versionadded:: 3
+
project set
-----------
@@ -141,6 +175,7 @@ Set project properties
[--description <description>]
[--enable | --disable]
[--property <key=value>]
+ [--tag <tag> | --clear-tags | --remove-tags <tag>]
<project>
.. option:: --name <name>