diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2015-12-18 14:16:45 -0600 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-01-15 09:24:48 -0600 |
| commit | cf2de9af79cedd51ca080f5a6521997c05647418 (patch) | |
| tree | fa476461d5fe4ae4edb7008ec71c070425f93d87 /doc/source | |
| parent | 8654e3e366166372c8f114ad9463dbceb599cd3d (diff) | |
| download | python-openstackclient-cf2de9af79cedd51ca080f5a6521997c05647418.tar.gz | |
Change --owner to --project in image commands
* image create and image set now use --project to specify an alternate
project to own the image
* --owner is still silently accepted but deprecated, add warning messages
* --project and --owner are mutually exclusive to prevent precedence issues
Closes Bug: 1527833
Change-Id: Iccb1a1d9175ef9b5edcd79d294607db12641c1f0
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/command-objects/image.rst | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst index f1893efa..15286760 100644 --- a/doc/source/command-objects/image.rst +++ b/doc/source/command-objects/image.rst @@ -19,7 +19,6 @@ Create/upload an image [--store <store>] [--container-format <container-format>] [--disk-format <disk-format>] - [--owner <project>] [--size <size>] [--min-disk <disk-gb>] [--min-ram <ram-mb>] @@ -33,7 +32,7 @@ Create/upload an image [--public | --private] [--property <key=value> [...] ] [--tag <tag> [...] ] - [--project-domain <project-domain>] + [--project <project> [--project-domain <project-domain>]] <image-name> .. option:: --id <id> @@ -54,10 +53,6 @@ Create/upload an image Image disk format (default: raw) -.. option:: --owner <project> - - Image owner project name or ID - .. option:: --size <size> Image size, in bytes (only used with --location and --copy-from) @@ -128,11 +123,18 @@ Create/upload an image .. versionadded:: 2 +.. option:: --project <project> + + Set an alternate project on this image (name or ID). + Previously known as `--owner`. + .. option:: --project-domain <project-domain> Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. + .. versionadded:: 2 + .. describe:: <image-name> New image name @@ -225,7 +227,6 @@ Set image properties os image set [--name <name>] - [--owner <project>] [--min-disk <disk-gb>] [--min-ram <disk-ram>] [--container-format <container-format>] @@ -250,17 +251,13 @@ Set image properties [--os-version <os-version>] [--ramdisk-id <ramdisk-id>] [--activate|--deactivate] - [--project-domain <project-domain>] + [--project <project> [--project-domain <project-domain>]] <image> .. option:: --name <name> New image name -.. option:: --owner <project> - - New image owner project (name or ID) - .. option:: --min-disk <disk-gb> Minimum disk size needed to boot image, in gigabytes @@ -407,11 +404,18 @@ Set image properties .. versionadded:: 2 +.. option:: --project <project> + + Set an alternate project on this image (name or ID). + Previously known as `--owner`. + .. option:: --project-domain <project-domain> Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. + .. versionadded:: 2 + .. describe:: <image> Image to modify (name or ID) |
