summaryrefslogtreecommitdiff
path: root/openstack/etc/glance/schema-image.json
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 17:26:00 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-20 09:00:38 +0000
commit277c9daa3cae1f7d33e62186e72093123be2d9c6 (patch)
tree899c9606f9d701038f5c679cdd994f25178472f0 /openstack/etc/glance/schema-image.json
parent24ab2703acbb6cf6e85fdf4d433d7e28d3db0182 (diff)
downloaddefinitions-277c9daa3cae1f7d33e62186e72093123be2d9c6.tar.gz
SPLITME: Add all Openstack
Diffstat (limited to 'openstack/etc/glance/schema-image.json')
-rw-r--r--openstack/etc/glance/schema-image.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/openstack/etc/glance/schema-image.json b/openstack/etc/glance/schema-image.json
new file mode 100644
index 00000000..5aafd6b3
--- /dev/null
+++ b/openstack/etc/glance/schema-image.json
@@ -0,0 +1,28 @@
+{
+ "kernel_id": {
+ "type": "string",
+ "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
+ "description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image."
+ },
+ "ramdisk_id": {
+ "type": "string",
+ "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
+ "description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image."
+ },
+ "instance_uuid": {
+ "type": "string",
+ "description": "ID of instance used to create this image."
+ },
+ "architecture": {
+ "description": "Operating system architecture as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
+ "type": "string"
+ },
+ "os_distro": {
+ "description": "Common name of operating system distribution as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
+ "type": "string"
+ },
+ "os_version": {
+ "description": "Operating system version as specified by the distributor",
+ "type": "string"
+ }
+}