diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-02-20 14:20:49 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-25 10:23:36 +0000 |
commit | 2ac3227a9ce64fc08b0c3217b1d4bb4821fc05c0 (patch) | |
tree | 5ff3771f132eef63a0c49c279ec992ddc66c0511 /openstack/usr/share/openstack/glance/schema-image.json | |
parent | 39aeb0c2f776e630a5d9c7d1261d7644f1965236 (diff) | |
download | definitions-2ac3227a9ce64fc08b0c3217b1d4bb4821fc05c0.tar.gz |
Glance configuration in ansible
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" + } +} |