Added 'openstack image set --visibility'

This feature will allow image owners to share images across multiple
tenants/projects without explicitly creating members individually
through the glance API V2. “Community images” will not appear iu
user's default image listings

Change-Id: Ic02bf44cca5d6d793d68a8737d3cfe3f44407d88
Closes-Bug: #1626837
This commit is contained in:
M V P Nitesh
2017-06-30 14:13:02 +05:30
committed by Dean Troyer
parent 22bed5d1f0
commit 3468ea1ca4
3 changed files with 55 additions and 6 deletions
doc/source/cli/command-objects
openstackclient/image/v2
releasenotes/notes

@@ -57,7 +57,7 @@ Create/upload an image
[--force]
[--checksum <checksum>]
[--protected | --unprotected]
[--public | --private]
[--public | --private | --community | --shared]
[--property <key=value> [...] ]
[--tag <tag> [...] ]
[--project <project> [--project-domain <project-domain>]]
@@ -143,6 +143,14 @@ Create/upload an image
Image is inaccessible to the public (default)
.. option:: --community
Image is accessible to the community
.. option:: --shared
Image can be shared
.. option:: --property <key=value>
Set a property on this image (repeat for multiple values)
@@ -310,7 +318,7 @@ Set image properties
[--disk-format <disk-format>]
[--size <size>]
[--protected | --unprotected]
[--public | --private]
[--public | --private | --community | --shared]
[--store <store>]
[--location <image-url>]
[--copy-from <image-url>]
@@ -376,6 +384,14 @@ Set image properties
Image is inaccessible to the public (default)
.. option:: --community
Image is accessible to the community
.. option:: --shared
Image can be shared
.. option:: --store <store>
Upload image to this store