Browse Source

All visibility image filter

Change-Id: Ie6b7d5fc38dd6cb51a50408f19203cceaa5e7952
Sam Morrison 7 months ago
parent
commit
6ecce72e91

+ 35
- 0
specs/stein/approved/glance/all-visibility-image-filter.rst View File

@@ -0,0 +1,35 @@
1
+
2
+..
3
+ This work is licensed under a Creative Commons Attribution 3.0 Unported
4
+ License.
5
+
6
+ http://creativecommons.org/licenses/by/3.0/legalcode
7
+
8
+========================================
9
+Spec Lite: 'all' visibility image filter
10
+========================================
11
+
12
+:project: glance
13
+
14
+:problem: When deployments use community images these community images are
15
+          not returned when doing an image list.
16
+          Currently murano and other projects use a property to determine
17
+          if the image should be used. It is not possible to filter on
18
+          all images with the specific property. Sahara also shares this
19
+          issue. Horizon currently also needs to show all images that a
20
+          user can boot from in the boot intance view and this cannot be
21
+          done without 2 requests to glance.
22
+
23
+:solution: We need to add a new visibility called 'all' which will return
24
+           all images that are available to the user.
25
+
26
+:impacts: None
27
+
28
+:how: We will add the ability to list images with visibility='all' to
29
+      return all images. This will require a bump in the api version.
30
+
31
+:alternatives: The other option is to make 2 requests to glance each time
32
+               you want to list all images or filter by all images which
33
+               is inefficiant
34
+
35
+:assignee: sorrison

+ 9
- 0
specs/stein/approved/index.rst View File

@@ -1,3 +1,4 @@
1
+
1 2
 =============================
2 3
 Stein Approved Specifications
3 4
 =============================
@@ -6,6 +7,14 @@ Stein Approved Specifications
6 7
    :glob:
7 8
    :maxdepth: 1
8 9
 
10
+Stein approved specs for Glance:
11
+
12
+.. toctree::
13
+   :glob:
14
+   :maxdepth: 1
15
+
16
+   glance/*
17
+
9 18
 Stein approved specs for python-glanceclient:
10 19
 
11 20
 .. toctree::

Loading…
Cancel
Save