summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/image.rst
diff options
context:
space:
mode:
authorJordan Pittier <jordan.pittier@scality.com>2016-12-15 22:20:30 +0100
committerJordan Pittier <jordan.pittier@scality.com>2017-01-04 19:26:01 +0100
commitf055fe67c11fff020ae959b1672844aaff382491 (patch)
tree5f05551742886962d24d4e38efb7a5b810b29810 /doc/source/command-objects/image.rst
parentc416aecb2f7fc8e993ca2b22edd4dea3673d2cac (diff)
downloadpython-openstackclient-f055fe67c11fff020ae959b1672844aaff382491.tar.gz
Add support for Glance 'update image members' feature
This patch adds 3 new options to the "image set" command: --accept, --reject and --pending. This updates the membership status for an image. Closes-Bug: 1620481 Change-Id: I13b8c067aad68ece9ff636fbdd83bcb3663c91b2
Diffstat (limited to 'doc/source/command-objects/image.rst')
-rw-r--r--doc/source/command-objects/image.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 7ebcb54a..999842af 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -325,6 +325,7 @@ Set image properties
[--ramdisk-id <ramdisk-id>]
[--activate|--deactivate]
[--project <project> [--project-domain <project-domain>]]
+ [--accept | --reject | --pending]
<image>
.. option:: --name <name>
@@ -490,6 +491,36 @@ Set image properties
.. versionadded:: 2
+.. option:: --accept
+
+ Accept the image membership.
+
+ If `--project` is passed, this will update the membership status for the
+ given project, otherwise `--project` will default to the project the user
+ is authenticated to.
+
+ .. versionadded:: 2
+
+.. option:: --reject
+
+ Reject the image membership.
+
+ If `--project` is passed, this will update the membership status for the
+ given project, otherwise `--project` will default to the project the user
+ is authenticated to.
+
+ .. versionadded:: 2
+
+.. option:: --pending
+
+ Reset the image membership to 'pending'.
+
+ If `--project` is passed, this will update the membership status for the
+ given project, otherwise `--project` will default to the project the user
+ is authenticated to.
+
+ .. versionadded:: 2
+
.. _image_set-image:
.. describe:: <image>