summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-02 14:08:05 +0000
committerGerrit Code Review <review@openstack.org>2015-07-02 14:08:05 +0000
commitd80deaba41d09534a3f5a670957b4b0d035509b6 (patch)
treee4554509b8ef133713e2cddcfcd7952608b4fd80 /doc/source
parent60d1417c2f47006c522c6ed1b973ab3bbb84c69f (diff)
parentbd589778c287f1f1b2f7c2dcce7c917e49f956c3 (diff)
downloadpython-openstackclient-d80deaba41d09534a3f5a670957b4b0d035509b6.tar.gz
Merge "Move update code from image create command"
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/backwards-incompatible.rst14
-rw-r--r--doc/source/command-objects/image.rst40
2 files changed, 54 insertions, 0 deletions
diff --git a/doc/source/backwards-incompatible.rst b/doc/source/backwards-incompatible.rst
index 437f9324..ae77164b 100644
--- a/doc/source/backwards-incompatible.rst
+++ b/doc/source/backwards-incompatible.rst
@@ -47,6 +47,20 @@ List of Backwards Incompatible Changes
* Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1450872
* Commit: https://review.openstack.org/#/c/179446/
+4. Command `openstack image create` does not update already existing image
+
+ Previously, the image create command updated already existing image if it had
+ same name. It disabled possibility to create multiple images with same name
+ and lead to potentially unwanted update of existing images by image create
+ command.
+ Now, update code was moved from create action to set action.
+
+ * In favor of: Create multiple images with same name (as glance does).
+ * As of: 1.5.0
+ * Removed in: NA
+ * Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1461817
+ * Commit: https://review.openstack.org/#/c/194654/
+
For Developers
==============
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 18658651..824d4930 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -210,6 +210,14 @@ Set image properties
[--size <size>]
[--protected | --unprotected]
[--public | --private]
+ [--store <store>]
+ [--location <image-url>]
+ [--copy-from <image-url>]
+ [--file <file>]
+ [--volume <volume>]
+ [--force]
+ [--checksum <checksum>]
+ [--stdin]
[--property <key=value> [...] ]
<image>
@@ -260,6 +268,38 @@ Set image properties
Image is inaccessible to the public (default)
+.. option:: --store <store>
+
+ Upload image to this store
+
+.. option:: --location <image-url>
+
+ Download image from an existing URL
+
+.. option:: --copy-from <image-url>
+
+ Copy image from the data store (similar to --location)
+
+.. option:: --file <file>
+
+ Upload image from local file
+
+.. option:: --volume <volume>
+
+ Update image with a volume
+
+.. option:: --force
+
+ Force image update if volume is in use (only meaningful with --volume)
+
+.. option:: --checksum <checksum>
+
+ Image hash used for verification
+
+.. option:: --stdin
+
+ Allow to read image data from standard input
+
.. option:: --property <key=value>
Set a property on this image (repeat for multiple values)