summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/project.rst
diff options
context:
space:
mode:
authorGage Hugo <gagehugo@gmail.com>2017-07-06 16:21:03 -0500
committerDean Troyer <dtroyer@gmail.com>2018-02-23 20:26:57 +0000
commitd32664150fbc00340f3ff4304c13abf9a191299a (patch)
tree31731b192ed863514ce60ab1244d04d6edf910af /doc/source/cli/command-objects/project.rst
parent8c5f7555698491c3a0b44fe6c3fee50d0189f2d6 (diff)
downloadpython-openstackclient-d32664150fbc00340f3ff4304c13abf9a191299a.tar.gz
Add project tags functionality
This change adds tags functionality for projects in keystone. A user can add a single tag with "--tag", chain "--tag" to add multiple tags, or clear tags with "--no-tag". Change-Id: I31cfef3e76dcefe299dacb00c11bb1a10a252628 Partially-Implements: bp project-tags
Diffstat (limited to 'doc/source/cli/command-objects/project.rst')
-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>