Merge "Add CPU Mode Metadata Def"
This commit is contained in:
commit
6edbfb7567
29
etc/metadefs/compute-cpu-mode.json
Normal file
29
etc/metadefs/compute-cpu-mode.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -33,6 +33,11 @@
|
|||||||
"description": "The common name of the operating system distribution in lowercase (uses the same data vocabulary as the libosinfo project). Specify only a recognized value for this field. Deprecated values are listed to assist you in searching for the recognized value.",
|
"description": "The common name of the operating system distribution in lowercase (uses the same data vocabulary as the libosinfo project). Specify only a recognized value for this field. Deprecated values are listed to assist you in searching for the recognized value.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"hw_cpu_mode": {
|
||||||
|
"title": "CPU Mode",
|
||||||
|
"description": "This specifies the CPU Mode for the guest vm",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"os_version": {
|
"os_version": {
|
||||||
"title": "OS Version",
|
"title": "OS Version",
|
||||||
"description": "Operating system version as specified by the distributor. (for example, '11.10')",
|
"description": "Operating system version as specified by the distributor. (for example, '11.10')",
|
||||||
|
Loading…
Reference in New Issue
Block a user