summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/image.rst
diff options
context:
space:
mode:
authorNiallBunting <niall.bunting@hpe.com>2015-12-14 14:28:45 +0000
committerNiallBunting <niall.bunting@hpe.com>2015-12-16 14:25:41 +0000
commitb3943d714275b276a973de9c52307e82c90be8bc (patch)
treed5c5587bbe10f62d4692487759f6a5c9b5edda71 /doc/source/command-objects/image.rst
parent1ee5191cec53df588d51a7cee31cfe9cf3a57a1b (diff)
downloadpython-openstackclient-b3943d714275b276a973de9c52307e82c90be8bc.tar.gz
Add image re/deactivate commands
This change allows admins to deactivate and reactivate their images. Currently this has to be done with the REST api or the glanceclient. This change introduces `--deactivate` and `--activate` for the `image set` command. This requires glanceclient 1.2.0. Which got bumped here: https://review.openstack.org/#/c/257512/ Change-Id: I476c44a0343cdc92d58ddc93fb06470242de2345 Depends-On: I2c370c6bf6ff664d94d756cc76aaa983fbdb8869 Closes-Bug: 1516661
Diffstat (limited to 'doc/source/command-objects/image.rst')
-rw-r--r--doc/source/command-objects/image.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index d4b99162..6a4782ea 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -243,6 +243,7 @@ Set image properties
[--os-distro <os-distro>]
[--os-version <os-version>]
[--ramdisk-id <ramdisk-id>]
+ [--activate|--deactivate]
<image>
.. option:: --name <name>
@@ -387,6 +388,18 @@ Set image properties
.. versionadded:: 2
+.. option:: --activate
+
+ Activate the image.
+
+ .. versionadded:: 2
+
+.. option:: --deactivate
+
+ Deactivate the image.
+
+ .. versionadded:: 2
+
.. describe:: <image>
Image to modify (name or ID)