{
"service": "hpaCpuTopologyPolicy{the model name of a policy}",
"policyName": "oofBeijing.hpaCpuTopologyPolicy_vGMuxInfra",{policy scope folder}.{policy name; must be unique}",
"description": "Cpu Topology{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",
"guard": "False",
"content": {1-10; larger the number higher the priority is}",
"riskType": "{the type of risk}",
"riskLevel": "{the level of risk}",
"cpuTopologyPropertiesguard": [
{"attribute":"hpaFeature", "value": "cpuTopology","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":"=", "unit": ""}, {"attributeflavorLabel":"numCpuSockets "{VM/VFC id}",
"values": "2","operator": ">=", "unit": ""}, {"attributeflavorProperties":"numCpuSockets", "values": "4","operator": "<=", "unit": ""},[
{"attribute":"numCpuCores", "value": "2", "operator":">=", "unit": ""},
{"attributehpa-feature" :"numCpuCores "{HPA feature type}",
"value": "4", "operator":"<=", "unit": ""}, {"attribute":"numCpuThreads", "value": "4", "operator":">=", "unit"mandatory" : ""},{mandatoriness of {"attribute":"numCpuThreadsthe feature}",
"value": "8", "operator":"<=", "unit": ""}, ], "identityscore" : "cpuTopology_vGMuxInfra",{priority of this feature if the feature is not mandatory for VM}"
"policyScopearchitecture": ["vCPE{supported architecuture}", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
"typehpa-version": "hpaCpuTopologyPolicy",{version for hpa capability}",
"resourceInstanceTypehpa-feature-attributes": ["vGMuxInfra"]
}
} |