{
"service": "hpaHyperThreadingPolicy{the model name of a policy}",
"policyName": "oofBeijing.hyperThreadingPolicy_vGMuxInfra",{policy scope folder}.{policy name; must be unique}",
"description": "Hyper threading{description of a policy}",
for vGMuxInfra", "templateVersion": "0.0.1{policy model version}",
"version": "oofBeijing{policy version}",
"priority": "3",{priority in "riskType": "test",
"riskLevel": "2",1-10; larger the number higher the priority is}",
"guardriskType": "False{the type of risk}",
"contentriskLevel": "{the level of risk}",
"hyperThreadingPropertiesguard": [
{"attribute": "hpaFeature", "value": "NUMA", "operator": "=", "unit": ""}"{True/False flag to indicate whether guard is applicable or not}",
"content": {
"resource": "{resource name}",
"identity": "{policy identity}",
{"attributepolicyScope": "architecture", "value": "INTELx64", "operator": "=", "unit["{a tag representing policy scope}"],
"policyType": "{policy type}"},
{"attributeflavorFeatures": [
"mandatory", "value": "true", "operator": "=", "unit": ""}, {
{"attribute": "score", "value": "4", "operator": "=", "unitflavorLabel": "{VM/VFC id}"},
{"attribute": "cpuCores", "valueflavorProperties":[
"4", "operator": ">=", "unit": ""}, {"attribute": "cpuCores", "value": "10", "operator": "<=", "unit": ""},
{"attributehpa-feature" : "cpuThreads", "value": "2", "operator": ">", "unit": ""},{HPA feature type}",
{"attribute": "cpuThreadsPolicy", "value": "dedicated", "operator": "=", "unit": ""} "mandatory" : "{mandatoriness of the feature}",
{"attribute": "cpuSockets", "values": ["2", "4", "6"], "operator": "any", "unit": ""},
{"attribute": "memory", "value": 8, "operator": ">", "unit": "GB"} "score" : "{priority of this feature if the feature is not mandatory for VM}"
], "identityarchitecture": "hyperThreading_vGMuxInfra{supported architecuture}",
"policyScope "hpa-version": ["vCPE"{version for hpa capability}",
"US", "INTERNATIONAL", "ip", "vGMuxInfra"], "type": "hpaHyperThreadingPolicy", "resourceInstanceTypehpa-feature-attributes": ["vGMuxInfra"]
}
} |