Merge "Update image cli doc and fix some typos"
This commit is contained in:
commit
06d470fb27
@ -16,7 +16,8 @@ Associate project with image
|
|||||||
|
|
||||||
openstack image add project
|
openstack image add project
|
||||||
[--project-domain <project-domain>]
|
[--project-domain <project-domain>]
|
||||||
<image> <project>
|
<image>
|
||||||
|
<project>
|
||||||
|
|
||||||
.. option:: --project-domain <project-domain>
|
.. option:: --project-domain <project-domain>
|
||||||
|
|
||||||
@ -60,7 +61,8 @@ Create/upload an image
|
|||||||
[--public | --private | --community | --shared]
|
[--public | --private | --community | --shared]
|
||||||
[--property <key=value> [...] ]
|
[--property <key=value> [...] ]
|
||||||
[--tag <tag> [...] ]
|
[--tag <tag> [...] ]
|
||||||
[--project <project> [--project-domain <project-domain>]]
|
[--project <project>]
|
||||||
|
[--project-domain <project-domain>]
|
||||||
<image-name>
|
<image-name>
|
||||||
|
|
||||||
.. option:: --id <id>
|
.. option:: --id <id>
|
||||||
@ -153,11 +155,11 @@ Create/upload an image
|
|||||||
|
|
||||||
.. option:: --property <key=value>
|
.. option:: --property <key=value>
|
||||||
|
|
||||||
Set a property on this image (repeat for multiple values)
|
Set a property on this image (repeat option to set multiple properties)
|
||||||
|
|
||||||
.. option:: --tag <tag>
|
.. option:: --tag <tag>
|
||||||
|
|
||||||
Set a tag on this image (repeat for multiple values)
|
Set a tag on this image (repeat option to set multiple tags)
|
||||||
|
|
||||||
.. versionadded:: 2
|
.. versionadded:: 2
|
||||||
|
|
||||||
@ -205,13 +207,12 @@ List available images
|
|||||||
openstack image list
|
openstack image list
|
||||||
[--public | --private | --shared]
|
[--public | --private | --shared]
|
||||||
[--property <key=value>]
|
[--property <key=value>]
|
||||||
|
[--name <name>]
|
||||||
|
[--status <status>]
|
||||||
[--long]
|
[--long]
|
||||||
[--sort <key>[:<direction>]]
|
[--sort <key>[:<direction>]]
|
||||||
[--limit <num-images>]
|
[--limit <num-images>]
|
||||||
[--marker <image>]
|
[--marker <image>]
|
||||||
[--name <name>]
|
|
||||||
[--status <status>]
|
|
||||||
|
|
||||||
|
|
||||||
.. option:: --public
|
.. option:: --public
|
||||||
|
|
||||||
@ -231,6 +232,18 @@ List available images
|
|||||||
|
|
||||||
Filter output based on property
|
Filter output based on property
|
||||||
|
|
||||||
|
.. option:: --name <name>
|
||||||
|
|
||||||
|
Filter images based on name
|
||||||
|
|
||||||
|
*Image version 2 only.*
|
||||||
|
|
||||||
|
.. option:: --status <status>
|
||||||
|
|
||||||
|
Filter images based on status
|
||||||
|
|
||||||
|
*Image version 2 only*
|
||||||
|
|
||||||
.. option:: --long
|
.. option:: --long
|
||||||
|
|
||||||
List additional fields in output
|
List additional fields in output
|
||||||
@ -251,15 +264,6 @@ List available images
|
|||||||
The last image of the previous page. Display list of images
|
The last image of the previous page. Display list of images
|
||||||
after marker. Display all images if not specified. (name or ID)
|
after marker. Display all images if not specified. (name or ID)
|
||||||
|
|
||||||
.. option:: --name <name>
|
|
||||||
|
|
||||||
Filter images based on name
|
|
||||||
|
|
||||||
.. option:: --status <status>
|
|
||||||
|
|
||||||
Filter images based on status
|
|
||||||
|
|
||||||
|
|
||||||
*Image version 2 only*
|
*Image version 2 only*
|
||||||
|
|
||||||
image remove project
|
image remove project
|
||||||
@ -272,7 +276,7 @@ Disassociate project with image
|
|||||||
.. program:: image remove project
|
.. program:: image remove project
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack image remove remove
|
openstack image remove project
|
||||||
[--project-domain <project-domain>]
|
[--project-domain <project-domain>]
|
||||||
<image>
|
<image>
|
||||||
<project>
|
<project>
|
||||||
@ -347,8 +351,9 @@ Set image properties
|
|||||||
[--os-distro <os-distro>]
|
[--os-distro <os-distro>]
|
||||||
[--os-version <os-version>]
|
[--os-version <os-version>]
|
||||||
[--ramdisk-id <ramdisk-id>]
|
[--ramdisk-id <ramdisk-id>]
|
||||||
[--activate|--deactivate]
|
[--deactivate | --activate]
|
||||||
[--project <project> [--project-domain <project-domain>]]
|
[--project <project>]
|
||||||
|
[--project-domain <project-domain>]
|
||||||
[--accept | --reject | --pending]
|
[--accept | --reject | --pending]
|
||||||
<image>
|
<image>
|
||||||
|
|
||||||
@ -460,7 +465,7 @@ Set image properties
|
|||||||
|
|
||||||
.. option:: --tag <tag>
|
.. option:: --tag <tag>
|
||||||
|
|
||||||
Set a tag on this image (repeat for multiple values)
|
Set a tag on this image (repeat option to set multiple tags)
|
||||||
|
|
||||||
.. versionadded:: 2
|
.. versionadded:: 2
|
||||||
|
|
||||||
@ -500,18 +505,18 @@ Set image properties
|
|||||||
|
|
||||||
.. versionadded:: 2
|
.. versionadded:: 2
|
||||||
|
|
||||||
.. option:: --activate
|
|
||||||
|
|
||||||
Activate the image.
|
|
||||||
|
|
||||||
.. versionadded:: 2
|
|
||||||
|
|
||||||
.. option:: --deactivate
|
.. option:: --deactivate
|
||||||
|
|
||||||
Deactivate the image.
|
Deactivate the image.
|
||||||
|
|
||||||
.. versionadded:: 2
|
.. versionadded:: 2
|
||||||
|
|
||||||
|
.. option:: --activate
|
||||||
|
|
||||||
|
Activate the image.
|
||||||
|
|
||||||
|
.. versionadded:: 2
|
||||||
|
|
||||||
.. option:: --project <project>
|
.. option:: --project <project>
|
||||||
|
|
||||||
Set an alternate project on this image (name or ID).
|
Set an alternate project on this image (name or ID).
|
||||||
@ -568,8 +573,13 @@ Display image details
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack image show
|
openstack image show
|
||||||
|
[--human-readable]
|
||||||
<image>
|
<image>
|
||||||
|
|
||||||
|
.. option:: --human-readable
|
||||||
|
|
||||||
|
Print image size in a human-friendly format.
|
||||||
|
|
||||||
.. _image_show-image:
|
.. _image_show-image:
|
||||||
.. describe:: <image>
|
.. describe:: <image>
|
||||||
|
|
||||||
@ -585,16 +595,16 @@ Unset image tags or properties
|
|||||||
.. program:: image unset
|
.. program:: image unset
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack image set
|
openstack image unset
|
||||||
[--tag <tag>]
|
[--tag <tag>]
|
||||||
[--property <property>]
|
[--property <property-key>]
|
||||||
<image>
|
<image>
|
||||||
|
|
||||||
.. option:: --tag <tag>
|
.. option:: --tag <tag>
|
||||||
|
|
||||||
Unset a tag on this image (repeat option to unset multiple tags)
|
Unset a tag on this image (repeat option to unset multiple tags)
|
||||||
|
|
||||||
.. option:: --property <property>
|
.. option:: --property <property-key>
|
||||||
|
|
||||||
Unset a property on this image (repeat option to unset multiple properties)
|
Unset a property on this image (repeat option to unset multiple properties)
|
||||||
|
|
||||||
|
@ -995,7 +995,7 @@ class UnsetImage(command.Command):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--property",
|
"--property",
|
||||||
dest="properties",
|
dest="properties",
|
||||||
metavar="<property_key>",
|
metavar="<property-key>",
|
||||||
default=[],
|
default=[],
|
||||||
action='append',
|
action='append',
|
||||||
help=_("Unset a property on this image "
|
help=_("Unset a property on this image "
|
||||||
|
Loading…
Reference in New Issue
Block a user