From 6ecce72e9139fe3c59ef46f42f92e179e5690156 Mon Sep 17 00:00:00 2001 From: Sam Morrison Date: Fri, 14 Sep 2018 08:45:11 +1000 Subject: [PATCH] All visibility image filter Change-Id: Ie6b7d5fc38dd6cb51a50408f19203cceaa5e7952 --- .../glance/all-visibility-image-filter.rst | 35 +++++++++++++++++++ specs/stein/approved/index.rst | 9 +++++ 2 files changed, 44 insertions(+) create mode 100644 specs/stein/approved/glance/all-visibility-image-filter.rst diff --git a/specs/stein/approved/glance/all-visibility-image-filter.rst b/specs/stein/approved/glance/all-visibility-image-filter.rst new file mode 100644 index 00000000..568f8cb9 --- /dev/null +++ b/specs/stein/approved/glance/all-visibility-image-filter.rst @@ -0,0 +1,35 @@ + +.. + This work is licensed under a Creative Commons Attribution 3.0 Unported + License. + + http://creativecommons.org/licenses/by/3.0/legalcode + +======================================== +Spec Lite: 'all' visibility image filter +======================================== + +:project: glance + +:problem: When deployments use community images these community images are + not returned when doing an image list. + Currently murano and other projects use a property to determine + if the image should be used. It is not possible to filter on + all images with the specific property. Sahara also shares this + issue. Horizon currently also needs to show all images that a + user can boot from in the boot intance view and this cannot be + done without 2 requests to glance. + +:solution: We need to add a new visibility called 'all' which will return + all images that are available to the user. + +:impacts: None + +:how: We will add the ability to list images with visibility='all' to + return all images. This will require a bump in the api version. + +:alternatives: The other option is to make 2 requests to glance each time + you want to list all images or filter by all images which + is inefficiant + +:assignee: sorrison diff --git a/specs/stein/approved/index.rst b/specs/stein/approved/index.rst index b7463262..18ad59e7 100644 --- a/specs/stein/approved/index.rst +++ b/specs/stein/approved/index.rst @@ -1,3 +1,4 @@ + ============================= Stein Approved Specifications ============================= @@ -6,6 +7,14 @@ Stein Approved Specifications :glob: :maxdepth: 1 +Stein approved specs for Glance: + +.. toctree:: + :glob: + :maxdepth: 1 + + glance/* + Stein approved specs for python-glanceclient: .. toctree::