summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-03-28 11:44:34 -0500
committerEric Fried <openstack@fried.cc>2019-03-28 11:46:46 -0500
commit1b14058122aa62439fb23de6efb10cce4a3f0c84 (patch)
tree3252e99d3b0d378f42c4d27a83a957de9dcbef2a
parentd225a7f5aae67cdda0b69af929f812a5d8921a59 (diff)
Add contextual comment about image type traitsHEAD0.12.0master
Adds a comment to the compute.image module proposed in [1] providing context on where the values were derived from, and that they should be kept in sync in the (perhaps unlikely) event that more image types are added in the future. [1] I2a76e6b1062b0112faec73cef4a369124e45aa98 Change-Id: I1f0d79e3e77d23d3a190bad594c504ef5503cc67
Notes
Notes (review): Code-Review+2: Chris Dent <cdent@anticdent.org> Workflow+1: Chris Dent <cdent@anticdent.org> Code-Review+1: Ed Leafe <ed@leafe.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 28 Mar 2019 17:18:19 +0000 Reviewed-on: https://review.openstack.org/648466 Project: openstack/os-traits Branch: refs/heads/master
-rw-r--r--os_traits/compute/image.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/os_traits/compute/image.py b/os_traits/compute/image.py
index 0958307..01000c0 100644
--- a/os_traits/compute/image.py
+++ b/os_traits/compute/image.py
@@ -12,6 +12,9 @@
12# License for the specific language governing permissions and limitations 12# License for the specific language governing permissions and limitations
13# under the License. 13# under the License.
14 14
15# This is fed from the list at
16# https://docs.openstack.org/image-guide/image-formats.html#disk-formats
17# and should be kept up to date with same.
15TRAITS = [ 18TRAITS = [
16 # Amazon kernel, machine, and ramdisk images 19 # Amazon kernel, machine, and ramdisk images
17 'TYPE_AKI', 20 'TYPE_AKI',