{
"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",
"riskType": "test",
"riskLevel": "2",
"guard": "False",
"content": {{priority in 1-10; larger the number higher the priority is}",
"riskType": "{the type of risk}",
"riskLevel": "{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}",
{"attributeidentity": "architecture{policy identity}",
"valuepolicyScope": ["INTELx64", "operator": "=", "unit": ""}{a tag representing policy scope}"],
{"attributepolicyType": "mandatory{policy type}",
"value": "true", "operator": "=", "unit": ""}, "flavorFeatures": [
{"attribute": "score", "value {
"flavorLabel": "4{VM/VFC id}",
"operator": "=", "unit": ""},
{"attributeflavorProperties": "cpuCores", "value": "4", "operator": ">=", "unit": ""},[
{
{"attribute": "cpuCores", "value": "10", "operator": "<=", "unit": ""},
"hpa-feature" : "{HPA feature type}",
{"attribute": "cpuThreadsmandatory", "value": "2", "operator": ">", "unit": ""},{mandatoriness of the feature}",
"score" : "{priority of this feature if the feature is not mandatory for VM}"
{"attribute": "cpuThreadsPolicy", "value": "dedicated", "operator": "=", "unit "architecture": "{supported architecuture}"},
{"attribute "hpa-version": "cpuSockets", "values": ["2", "4", "6"], "operator": "any", "unit": ""},
{version for hpa capability}",
{"attributehpa-feature-attributes": "memory", "value": 8, "operator": ">", "unit": "GB"}
[
],
"identity": "hyperThreading_vGMuxInfra", {
"policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"], "hpa-attribute-key": "{attribute name}",
"type "hpa-attribute-value": "hpaHyperThreadingPolicy{attribute value}",
"resourceInstanceTypeoperator": ["vGMuxInfra"]
}{comparison operator}",
"unit": "{the unit of an attribute}"}
]
}
]
}
]
}
} |