2 "service": "hpaPolicy",
3 "policyName": "OSDF_DUBLIN.hpa_policy_vG_1",
4 "description": "HPA policy for vG",
5 "templateVersion": "OpenSource.version.1",
14 "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG"],
22 "type": "flavor_directives",
25 "attribute_name": "flavor_label_vm_01",
33 "hpa-feature" : "cpuTopology",
35 "architecture": "generic",
37 "hpa-feature-attributes": [
38 {"hpa-attribute-key":"numCpuSockets", "hpa-attribute-value": "2","operator": ">=", "unit": ""},
39 {"hpa-attribute-key":"numCpuSockets", "hpa-attribute-value": "4","operator": "<=", "unit": ""},
40 {"hpa-attribute-key":"numCpuCores", "hpa-attribute-value": "2", "operator":">=", "unit": ""},
41 {"hpa-attribute-key":"numCpuCores", "hpa-attribute-value": "4", "operator":"<=", "unit": ""},
42 {"hpa-attribute-key":"numCpuThreads", "hpa-attribute-value": "4", "operator":">=", "unit": ""},
43 {"hpa-attribute-key":"numCpuThreads", "hpa-attribute-value": "8", "operator":"<=", "unit": ""}
47 "hpa-feature" : "basicCapabilities",
49 "architecture": "generic",
51 "hpa-feature-attributes": [
52 {"hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "6", "operator": "=", "unit": ""},
53 {"hpa-attribute-key": "virtualMemSize", "hpa-attribute-value":"6", "operator": "=", "unit": "GB"}
57 "hpa-feature" : "ovsDpdk",
58 "mandatory" : "False",
60 "architecture": "generic",
62 "hpa-feature-attributes": [
63 {"hpa-attribute-key":"dataProcessingAccelerationLibrary", "hpa-attribute-value":"ovsDpdk_version", "operator": "=", "unit":""}
67 "hpa-feature" : "cpuInstructionSetExtensions",
69 "architecture": "INTEL-64",
71 "hpa-feature-attributes": [
72 {"hpa-attribute-key":"instructionSetExtensions", "hpa-attribute-value":["<CPUINST>", "<CPUINST>"], "operator": "ALL", "unit":""}
82 "type": "flavor_directives",
85 "attribute_name": "flavor_label_vm_02",
93 "hpa-feature" : "cpuPinningy",
95 "architecture": "generic",
97 "hpa-feature-attributes": [
98 {"hpa-attribute-key":"logicalCpuThreadPinningPolicy", "hpa-attribute-value":"<CPUTHREADPOLICY>", "operator": "=", "unit":""},
99 {"hpa-attribute-key":"logicalCpuPinningPolicy", "hpa-attribute-value": "<CPUPOLICY>","operator": "=", "unit":""}
103 "hpa-feature" : "basicCapabilities",
104 "mandatory" : "True",
105 "architecture": "generic",
107 "hpa-feature-attributes": [
108 {"hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "6", "operator": "=", "unit": ""},
109 {"hpa-attribute-key": "virtualMemSize", "hpa-attribute-value":"6", "operator": "=", "unit": "GB"}
113 "hpa-feature" : "localStorage",
114 "mandatory" : "False",
116 "architecture": "generic",
118 "hpa-feature-attributes": [
119 {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
120 {"hpa-attribute-key": "ephemeralDiskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
121 {"hpa-attribute-key": "swapMemSize", "hpa-attribute-value":"16", "operator": "=", "unit": "MB"}
125 "hpa-feature" : "pciePassthrough",
126 "mandatory" : "True",
127 "architecture": "generic",
129 "hpa-feature-attributes": [
130 {"hpa-attribute-key": "pciCount", "hpa-attribute-value": "2", "operator": "=", "unit": ""},
131 {"hpa-attribute-key": "pciVendorId", "hpa-attribute-value":"8086", "operator": "=", "unit": ""},
132 {"hpa-attribute-key": "pciDeviceId", "hpa-attribute-value": "2", "operator": "=", "unit": ""}
142 "type": "flavor_directives",
145 "attribute_name": "flavor_label_vm_03",
146 "attribute_value": ""
153 "hpa-feature" : "numa",
154 "mandatory" : "False",
156 "architecture": "generic",
158 "hpa-feature-attributes": [
159 {"hpa-attribute-key": "numaNodes", "hpa-attribute-value": "2", "operator": "=", "unit": ""},
160 {"hpa-attribute-key": "numaCpu-0", "hpa-attribute-value":"2", "operator": "=", "unit": ""},
161 {"hpa-attribute-key": "numaMem-0", "hpa-attribute-value": "2048", "operator": "=", "unit": "MB"},
162 {"hpa-attribute-key": "numaCpu-1", "hpa-attribute-value":"4", "operator": "=", "unit": ""},
163 {"hpa-attribute-key": "numaMem-1", "value": "4096", "operator": "=", "unit": "MB"}
167 "hpa-feature" : "basicCapabilities",
168 "mandatory" : "True",
169 "architecture": "generic",
171 "hpa-feature-attributes": [
172 {"hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "6", "operator": "=", "unit": ""},
173 {"hpa-attribute-key": "virtualMemSize", "hpa-attribute-value":"6", "operator": "=", "unit": "GB"}
177 "hpa-feature" : "hugePages",
178 "mandatory" : "False",
180 "architecture": "generic",
182 "hpa-feature-attributes": [
183 {"hpa-attribute-key": "memoryPageSize", "hpa-attribute-value": "<MEMORYPAGESIZE>", "operator": "=", "unit": ""}