473ac5fff6
Added 'operators' to metadef jsons and property schema. With the new section end-user knows which multivalue operators are suitable for given property. Implements: blueprint metadata-multivalue-operators-support DocImpact APIImpact Change-Id: I0219bfaacfdc084200deb83d7806800c34f9aa6d
186 lines
5.8 KiB
JSON
186 lines
5.8 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_specs:"
|
|
}
|
|
],
|
|
"properties": {
|
|
"cpu_info:vendor": {
|
|
"title": "Vendor",
|
|
"description": "Specifies the CPU manufacturer.",
|
|
"operators": ["<or>"],
|
|
"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.",
|
|
"operators": ["<or>"],
|
|
"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.",
|
|
"operators": ["<or>"],
|
|
"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.",
|
|
"operators": ["<or>", "<all-in>"],
|
|
"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": []
|
|
}
|