85de1149b6
This metadef adds CPU pinning namespace and property to Nova::Flavor, Glance::Image, Cinder::Volume(image) resource types metadata. Change-Id: I215373648f7490faf35e44f5b98f9a2688c81e79 Closes-bug: #1476696
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"namespace": "OS::Compute::CPUPinning",
|
|
"display_name": "CPU Pinning",
|
|
"description": "This provides the preferred CPU Pinning policy when pinning vCPU of the guest to pCPU of the host. Default 'shared' option doesn't change current default guest CPU placement policy. 'Dedicated' will make guest CPU(s) to be strictly pinned to set of host CPU(s). See also https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement",
|
|
"visibility": "public",
|
|
"protected": true,
|
|
"resource_type_associations": [
|
|
{
|
|
"name": "OS::Glance::Image",
|
|
"prefix": "hw_"
|
|
},
|
|
{
|
|
"name": "OS::Cinder::Volume",
|
|
"prefix": "hw_",
|
|
"properties_target": "image"
|
|
},
|
|
{
|
|
"name": "OS::Nova::Flavor",
|
|
"prefix": "hw:"
|
|
}
|
|
],
|
|
"properties": {
|
|
"cpu_policy": {
|
|
"title": "CPU Pinning policy",
|
|
"description": "Type of CPU Pinning policy.",
|
|
"type": "string",
|
|
"enum": [
|
|
"shared",
|
|
"dedicated"
|
|
]
|
|
}
|
|
}
|
|
}
|