1c242032fb
Implements: blueprint metadata-schema-catalog A common API hosted by the Glance service for vendors, admins, services, and users to meaningfully define available key / value pair and tag metadata. The intent is to enable better metadata collaboration across artifacts, services, and projects for OpenStack users. This is about the definition of the available metadata that can be used on different types of resources (images, artifacts, volumes, flavors, aggregates, etc). A definition includes the properties type, its key, it's description, and it's constraints. This catalogue will not store the values for specific instance properties. Change-Id: Ib1c1abf80879fb6dcd5ee30c7d2bc65b0ba720d5 DocImpact Co-Authored-By: Lakshmi N Sampath <lakshmi.sampath@hp.com> Co-Authored-By: Wayne Okuma <wayne.okuma@hp.com> Co-Authored-By: Travis Tripp <travis.tripp@hp.com> Co-Authored-By: Pawel Koniszewski <pawel.koniszewski@intel.com> Co-Authored-By: Michal Jastrzebski <michal.jastrzebski@intel.com> Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
55 lines
1.9 KiB
JSON
55 lines
1.9 KiB
JSON
{
|
|
"namespace": "OS::Compute::VirtCPUTopology",
|
|
"display_name": "Virtual CPU Topology",
|
|
"description": "This provides the preferred socket/core/thread counts for the virtual CPU instance exposed to guests. This enables the ability to avoid hitting limitations on vCPU topologies that OS vendors place on their products. See also: http://git.openstack.org/cgit/openstack/nova-specs/tree/specs/juno/virt-driver-vcpu-topology.rst",
|
|
"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_sockets": {
|
|
"title": "vCPU Sockets",
|
|
"description": "Preferred number of sockets to expose to the guest.",
|
|
"type": "integer"
|
|
},
|
|
"cpu_cores": {
|
|
"title": "vCPU Cores",
|
|
"description": "Preferred number of cores to expose to the guest.",
|
|
"type": "integer"
|
|
},
|
|
"cpu_threads": {
|
|
"title": " vCPU Threads",
|
|
"description": "Preferred number of threads to expose to the guest.",
|
|
"type": "integer"
|
|
},
|
|
"cpu_maxsockets": {
|
|
"title": "Max vCPU Sockets",
|
|
"description": "Maximum number of sockets to expose to the guest.",
|
|
"type": "integer"
|
|
},
|
|
"cpu_maxcores": {
|
|
"title": "Max vCPU Cores",
|
|
"description": "Maximum number of cores to expose to the guest.",
|
|
"type": "integer"
|
|
},
|
|
"cpu_maxthreads": {
|
|
"title": "Max vCPU Threads",
|
|
"description": "Maximum number of threads to expose to the guest.",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|