d8a108e7b3
Creates Metadata def for CPU Mode. The allowed modes are "none", "host-passthrough", "custom" and "host-model". Change-Id: Id7a01546334ddea952708143c5dfc7861353f2fc Closes-Bug: 1636243
30 lines
737 B
JSON
30 lines
737 B
JSON
{
|
|
"namespace": "OS::Compute::CPUMode",
|
|
"display_name": "CPU Mode",
|
|
"description": "This provides the preferred CPU Model to be used when booting up a guest VM.",
|
|
"visibility": "public",
|
|
"resource_type_associations": [
|
|
{
|
|
"name": "OS::Glance::Image",
|
|
"prefix": "hw_"
|
|
},
|
|
{
|
|
"name": "OS::Nova::Flavor",
|
|
"prefix": "hw:"
|
|
}
|
|
],
|
|
"properties": {
|
|
"cpu_mode": {
|
|
"title": "CPU Mode",
|
|
"description": "Type of CPU Mode.",
|
|
"type": "string",
|
|
"enum": [
|
|
"none",
|
|
"host-model",
|
|
"host-passthrough",
|
|
"custom"
|
|
]
|
|
}
|
|
}
|
|
}
|