summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/glance/schema-image.json
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-20 13:07:29 +0000
committerMorph (on behalf of Adam Coldrick) <adam.coldrick@codethink.co.uk>2015-04-20 13:07:29 +0000
commit7d9b31396a8e94d474045eb08ddea66bcc3c3407 (patch)
treee895634c1cb501224d878076e7ff933258c263ac /openstack/usr/share/openstack/glance/schema-image.json
parent7426670d7787dd6239b9eea2792b9480969d3993 (diff)
downloaddefinitions-7d9b31396a8e94d474045eb08ddea66bcc3c3407.tar.gz
Morph build eb3946975d8b41288522854fd43b0c4d
System branch: master
Diffstat (limited to 'openstack/usr/share/openstack/glance/schema-image.json')
-rw-r--r--openstack/usr/share/openstack/glance/schema-image.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/glance/schema-image.json b/openstack/usr/share/openstack/glance/schema-image.json
new file mode 100644
index 00000000..5aafd6b3
--- /dev/null
+++ b/openstack/usr/share/openstack/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"
+ }
+}