summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorYang Hongyang <hongyang.yang@easystack.cn>2016-03-01 18:43:00 +0800
committerYang Hongyang <hongyang.yang@easystack.cn>2016-03-01 18:48:09 +0800
commit8b17a1fa5b16037f259d70c9bc07e902d78d5049 (patch)
tree8476af0f52ac17913da00f4c209d9fe19e2a6079 /openstackclient
parent3372de6f3b8fadc79715ee73df30fab93648bbcf (diff)
downloadpython-openstackclient-8b17a1fa5b16037f259d70c9bc07e902d78d5049.tar.gz
Trivial: Update image_list v2 docs
This api doc is clearly copied from v1, we should update it to reflact v2 API. Added 'shared' param description. Change-Id: I73d36e3a2a0448c28edab788a9340fd46177f8ef
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/api/image_v2.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/openstackclient/api/image_v2.py b/openstackclient/api/image_v2.py
index d8bb2801..026498fa 100644
--- a/openstackclient/api/image_v2.py
+++ b/openstackclient/api/image_v2.py
@@ -44,11 +44,14 @@ class APIv2(image_v1.APIv1):
Return public images if True
:param private:
Return private images if True
+ :param shared:
+ Return shared images if True
- If public and private are both True or both False then all images are
- returned. Both arguments False is equivalent to no filter and all
- images are returned. Both arguments True is a filter that includes
- both public and private images which is the same set as all images.
+ If public, private and shared are all True or all False then all
+ images are returned. All arguments False is equivalent to no filter
+ and all images are returned. All arguments True is a filter that
+ includes all public, private and shared images which is the same set
+ as all images.
http://docs.openstack.org/api/openstack-image-service/2.0/content/list-images.html
"""