411418b044
CPU pinning policy is defined, but CPU thread pinning policy is not. Resolve this. UpgradeImpact Change-Id: Ie3027a9ee92ac272b6c9a07926aa529d72187d00 Closes-bug: #1612341
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"namespace": "OS::Compute::CPUPinning",
|
|
"display_name": "CPU Pinning",
|
|
"description": "This provides the preferred CPU pinning and CPU thread pinning policy to be used when pinning vCPU of the guest to pCPU of the host. See http://docs.openstack.org/admin-guide/compute-numa-cpu-pinning.html",
|
|
"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"
|
|
]
|
|
},
|
|
"cpu_thread_policy": {
|
|
"title": "CPU Thread Pinning Policy.",
|
|
"description": "Type of CPU thread pinning policy.",
|
|
"type": "string",
|
|
"enum": [
|
|
"isolate",
|
|
"prefer",
|
|
"require"
|
|
]
|
|
}
|
|
}
|
|
}
|