Documentation: Add options for "glance image-import"

Closes-bug:#1886537
Change-Id: I66d99be1ec06806494c5504c467dff759dd38f2d
This commit is contained in:
vihithad23 2020-09-28 18:16:26 +05:30 committed by Cyril Roelandt
parent 8aac1597cd
commit 73aaef4286
1 changed files with 27 additions and 0 deletions

View File

@ -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