{
"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"1-10; larger the number higher the priority is}",
"riskLevelriskType": "2{the type of risk}",
"guardriskLevel": "False{the level of risk}",
"contentguard": "{True/False flag to indicate "hyperThreadingProperties": [
whether guard is applicable or not}",
{"attributecontent": "hpaFeature", "value": "NUMA", "operator": "=", "unit{
"resource": "{resource name}"},
{"attributeidentity": "architecture{policy identity}",
"valuepolicyScope": ["INTELx64", "operator": "=", "unit": ""}{a tag representing policy scope}"],
{"attributepolicyType": "mandatory{policy type}", "value": "true", "operator
"flavorFeatures": "=", "unit": ""},[
{"attribute
"flavorLabel": "score{VM/VFC id}",
"value": "4", "operator": "=", "unit": ""}, "flavorProperties":[
{"attribute": "cpuCores", "value": "4", "operator": ">=", "unit": ""},
{"attributehpa-feature" : "cpuCores{HPA feature type}",
"value": "10", "operator": "<=", "unit": ""}, {"attributemandatory" : "cpuThreads{mandatoriness of the feature}",
"value": "2", "operator": ">", "unit": ""},
{"attribute": "cpuThreadsPolicy", "value": "dedicated", "operator": "=", "unit": ""}, "score" : "{priority of this feature if the feature is not mandatory for VM}"
{"attributearchitecture": "cpuSockets{supported architecuture}", "values": ["2", "4", "6"], "operator": "any", "unit": ""},
"hpa-version": "{version for hpa capability}",
{"attribute": "memory", "value": 8, "operator": ">", "unithpa-feature-attributes": [
"GB"} ], "identity": "hyperThreading_vGMuxInfra", "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],{
"hpa-attribute-key": "{attribute name}",
"typehpa-attribute-value": "hpaHyperThreadingPolicy{attribute value}",
"resourceInstanceType "operator": ["vGMuxInfra"]{comparison operator}",
}
} |