summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvihithad23 <vihitha1998@gmail.com>2020-09-28 18:16:26 +0530
committerCyril Roelandt <cyril@redhat.com>2022-01-13 01:45:22 +0100
commit73aaef428689c2346aafa5b9542bd30f5633ab50 (patch)
treef01830d5299081c9a1d3fa45c813e9faa6c1fac9
parent8aac1597cd1cb8c989b8939d89891b459cfbe4f9 (diff)
downloadpython-glanceclient-73aaef428689c2346aafa5b9542bd30f5633ab50.tar.gz
Documentation: Add options for "glance image-import"
Closes-bug:#1886537 Change-Id: I66d99be1ec06806494c5504c467dff759dd38f2d
-rw-r--r--doc/source/cli/details.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/source/cli/details.rst b/doc/source/cli/details.rst
index f446aba..a4ae3f5 100644
--- a/doc/source/cli/details.rst
+++ b/doc/source/cli/details.rst
@@ -598,6 +598,10 @@ glance image-import
.. code-block:: console
usage: glance image-import [--import-method <METHOD>]
+ [--uri <IMAGE_URL>]
+ [--store <STORE>] [--stores <STORES>]
+ [--all-stores [True|False]]
+ [--allow-failure [True|False]]
<IMAGE_ID>
Initiate the image import taskflow.
@@ -614,6 +618,29 @@ Initiate the image import taskflow.
be retrieved with import-info command and the default "glance-direct"
is used with "image-stage".
+``--uri <IMAGE_URL>``
+ URI to download the external image
+
+``--store <STORE>``
+ Backend store to upload image to.
+
+``--stores <STORES>``
+ List of comma separated stores to upload image if multi-stores are
+ enabled in the environment.
+
+``--all-stores [True|False]``
+ "all-stores" can be used instead of "--stores <STORES>" to indicate
+ that image should be imported all available stores.
+
+``--allow-failure [True|False]``
+ Indicator if all stores listed (or available) must
+ succeed. "True" by default meaning that we allow some
+ stores to fail and the status can be monitored from
+ the image metadata. If this is set to "False" the
+ import will be reverted should any of the uploads
+ fail. Only usable with "stores" or "all-stores".
+
+
.. _glance_image-create-via-import:
glance image-create-via-import