From cf2de9af79cedd51ca080f5a6521997c05647418 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Fri, 18 Dec 2015 14:16:45 -0600 Subject: 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 --- doc/source/command-objects/image.rst | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'doc/source/command-objects/image.rst') 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 ] [--container-format ] [--disk-format ] - [--owner ] [--size ] [--min-disk ] [--min-ram ] @@ -33,7 +32,7 @@ Create/upload an image [--public | --private] [--property [...] ] [--tag [...] ] - [--project-domain ] + [--project [--project-domain ]] .. option:: --id @@ -54,10 +53,6 @@ Create/upload an image Image disk format (default: raw) -.. option:: --owner - - Image owner project name or ID - .. option:: --size Image size, in bytes (only used with --location and --copy-from) @@ -128,11 +123,18 @@ Create/upload an image .. versionadded:: 2 +.. option:: --project + + Set an alternate project on this image (name or ID). + Previously known as `--owner`. + .. option:: --project-domain Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. + .. versionadded:: 2 + .. describe:: New image name @@ -225,7 +227,6 @@ Set image properties os image set [--name ] - [--owner ] [--min-disk ] [--min-ram ] [--container-format ] @@ -250,17 +251,13 @@ Set image properties [--os-version ] [--ramdisk-id ] [--activate|--deactivate] - [--project-domain ] + [--project [--project-domain ]] .. option:: --name New image name -.. option:: --owner - - New image owner project (name or ID) - .. option:: --min-disk Minimum disk size needed to boot image, in gigabytes @@ -407,11 +404,18 @@ Set image properties .. versionadded:: 2 +.. option:: --project + + Set an alternate project on this image (name or ID). + Previously known as `--owner`. + .. option:: --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 to modify (name or ID) -- cgit v1.2.1