ec1a9f8988
Nova depends on a few properties to be able to interact with images in Glance effectively. The three added in this patch are kernel_id, ramdisk_id and instance_uuid. These properties are just being added to the default v2 schema, so they can be overwritten if a consumer decides they need to. Fixes bug 1039818 Change-Id: I5cfd5f0b5c8d1d526d56d99de738f9271aa641c1
17 lines
694 B
JSON
17 lines
694 B
JSON
{
|
|
"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."
|
|
}
|
|
}
|