diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-13 16:19:41 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-14 16:53:56 +0000 |
commit | a920b097683d7bfc5d5fc2b2aeb0c012160b0cb1 (patch) | |
tree | e33a119098f4252cf30165ef2b34656df898bef3 /openstack/usr/share/openstack/glance/schema-image.json | |
parent | 0d8524c546a84d4c305fad9e30c2ae666bf8f79d (diff) | |
download | definitions-a920b097683d7bfc5d5fc2b2aeb0c012160b0cb1.tar.gz |
Add default configuration files for Openstack
Change-Id: If376202ad6cfe27a8551b7a672754bb9a10ed188
Signed-off-by: Mark Doffman <mark.doffman@codethink.co.uk>
Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Diffstat (limited to 'openstack/usr/share/openstack/glance/schema-image.json')
-rw-r--r-- | openstack/usr/share/openstack/glance/schema-image.json | 28 |
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" + } +} |