Add kernel/ramdisk_id, instance_uuid to v2 schema
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
This commit is contained in:
parent
4c038b0d85
commit
ec1a9f8988
@ -1 +1,16 @@
|
|||||||
{}
|
{
|
||||||
|
"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."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user