541ee20d8d
The OS::Compute::HostCapabilities namespace should include more information about how the properties are used by Nova. Let admin's know that the ComputeCapabilitiesFilter needs to be enabled. Change-Id: Ib3232e560969462d3973606e138a96d1a5beb7de Closes-bug: 1367860
182 lines
5.6 KiB
JSON
182 lines
5.6 KiB
JSON
{
|
|
"namespace": "OS::Compute::HostCapabilities",
|
|
"display_name": "Compute Host Capabilities",
|
|
"description": "Hardware capabilities provided by the compute host. This provides the ability to fine tune the hardware specification required when an instance is requested. The ComputeCapabilitiesFilter should be enabled in the Nova scheduler to use these properties. When enabled, this filter checks that the capabilities provided by the compute host satisfy any extra specifications requested. Only hosts that can provide the requested capabilities will be eligible for hosting the instance.",
|
|
"visibility": "public",
|
|
"protected": true,
|
|
"resource_type_associations": [
|
|
{
|
|
"name": "OS::Nova::Flavor",
|
|
"prefix": "capabilities:"
|
|
},
|
|
{
|
|
"name": "OS::Nova::Aggregate",
|
|
"prefix": "aggregate_instance_extra_spec:"
|
|
}
|
|
],
|
|
"properties": {
|
|
"cpu_info:vendor": {
|
|
"title": "Vendor",
|
|
"description": "Specifies the CPU manufacturer.",
|
|
"type": "string",
|
|
"enum": [
|
|
"Intel",
|
|
"AMD"
|
|
]
|
|
},
|
|
"cpu_info:model": {
|
|
"title": "Model",
|
|
"description": "Specifies the CPU model. Use this property to ensure that your vm runs on a a specific cpu model.",
|
|
"type": "string",
|
|
"enum": [
|
|
"Conroe",
|
|
"Core2Duo",
|
|
"Penryn",
|
|
"Nehalem",
|
|
"Westmere",
|
|
"SandyBridge",
|
|
"IvyBridge",
|
|
"Haswell",
|
|
"Broadwell",
|
|
"Delhi",
|
|
"Seoul",
|
|
"Abu Dhabi",
|
|
"Interlagos",
|
|
"Kabini",
|
|
"Valencia",
|
|
"Zurich",
|
|
"Budapest",
|
|
"Barcelona",
|
|
"Suzuka",
|
|
"Shanghai",
|
|
"Istanbul",
|
|
"Lisbon",
|
|
"Magny-Cours",
|
|
"Valencia",
|
|
"Cortex-A57",
|
|
"Cortex-A53",
|
|
"Cortex-A12",
|
|
"Cortex-A17",
|
|
"Cortex-A15",
|
|
"Coretx-A7",
|
|
"X-Gene"
|
|
]
|
|
},
|
|
"cpu_info:arch": {
|
|
"title": "Architecture",
|
|
"description": "Specifies the CPU architecture. Use this property to specify the architecture supported by the hypervisor.",
|
|
"type": "string",
|
|
"enum": [
|
|
"x86",
|
|
"x86_64",
|
|
"i686",
|
|
"ia64",
|
|
"ARMv8-A",
|
|
"ARMv7-A"
|
|
]
|
|
},
|
|
"cpu_info:topology:cores": {
|
|
"title": "cores",
|
|
"description": "Number of cores.",
|
|
"type": "integer",
|
|
"readonly": false,
|
|
"default": 1
|
|
},
|
|
"cpu_info:topology:threads": {
|
|
"title": "threads",
|
|
"description": "Number of threads.",
|
|
"type": "integer",
|
|
"readonly": false,
|
|
"default": 1
|
|
},
|
|
"cpu_info:topology:sockets": {
|
|
"title": "sockets",
|
|
"description": "Number of sockets.",
|
|
"type": "integer",
|
|
"readonly": false,
|
|
"default": 1
|
|
},
|
|
"cpu_info:features": {
|
|
"title": "Features",
|
|
"description": "Specifies CPU flags/features. Using this property you can specify the required set of instructions supported by a vm.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"aes",
|
|
"vme",
|
|
"de",
|
|
"pse",
|
|
"tsc",
|
|
"msr",
|
|
"pae",
|
|
"mce",
|
|
"cx8",
|
|
"apic",
|
|
"sep",
|
|
"mtrr",
|
|
"pge",
|
|
"mca",
|
|
"cmov",
|
|
"pat",
|
|
"pse36",
|
|
"clflush",
|
|
"dts",
|
|
"acpi",
|
|
"mmx",
|
|
"fxsr",
|
|
"sse",
|
|
"sse2",
|
|
"ss",
|
|
"ht",
|
|
"tm",
|
|
"ia64",
|
|
"pbe",
|
|
"rdtscp",
|
|
"pni",
|
|
"pclmulqdq",
|
|
"dtes64",
|
|
"monitor",
|
|
"ds_cpl",
|
|
"vmx",
|
|
"smx",
|
|
"est",
|
|
"tm2",
|
|
"ssse3",
|
|
"cid",
|
|
"fma",
|
|
"cx16",
|
|
"xtpr",
|
|
"pdcm",
|
|
"pcid",
|
|
"dca",
|
|
"sse4_1",
|
|
"sse4_2",
|
|
"x2apic",
|
|
"movbe",
|
|
"popcnt",
|
|
"tsc_deadline_timer",
|
|
"xsave",
|
|
"avx",
|
|
"f16c",
|
|
"rdrand",
|
|
"fsgsbase",
|
|
"bmi1",
|
|
"hle",
|
|
"avx2",
|
|
"smep",
|
|
"bmi2",
|
|
"erms",
|
|
"invpcid",
|
|
"rtm",
|
|
"mpx",
|
|
"rdseed",
|
|
"adx",
|
|
"smap"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"objects": []
|
|
}
|