2 "OSDF_FRANKFURT.hpa_policy_vGMuxInfra_1": {
3 "type": "onap.policies.optimization.resource.HpaPolicy",
5 "type_version": "1.0.0",
7 "policy-id": "OSDF_FRANKFURT.hpa_policy_vGMuxInfra_1",
24 "identity": "hpa-vGMuxInfra",
31 "type": "flavor_directives",
34 "attribute_name": "flavor_label_vm_01",
42 "hpa-feature" : "cpuTopology",
44 "architecture": "generic",
46 "hpa-feature-attributes": [
47 {"hpa-attribute-key":"numCpuSockets", "hpa-attribute-value": "2","operator": ">=", "unit": ""},
48 {"hpa-attribute-key":"numCpuSockets", "hpa-attribute-value": "4","operator": "<=", "unit": ""},
49 {"hpa-attribute-key":"numCpuCores", "hpa-attribute-value": "2", "operator":">=", "unit": ""},
50 {"hpa-attribute-key":"numCpuCores", "hpa-attribute-value": "4", "operator":"<=", "unit": ""},
51 {"hpa-attribute-key":"numCpuThreads", "hpa-attribute-value": "4", "operator":">=", "unit": ""},
52 {"hpa-attribute-key":"numCpuThreads", "hpa-attribute-value": "8", "operator":"<=", "unit": ""}
56 "hpa-feature": "basicCapabilities",
58 "architecture": "generic",
60 "hpa-feature-attributes": [
62 "hpa-attribute-key": "numVirtualCpu",
63 "hpa-attribute-value": 6,
70 "hpa-attribute-key": "virtualMemSize",
71 "hpa-attribute-value": 6,
80 "hpa-feature": "ovsDpdk",
83 "architecture": "generic",
85 "hpa-feature-attributes": [
87 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
88 "hpa-attribute-value": "ovsDpdk_version",
97 "hpa-feature": "cpuInstructionSetExtensions",
99 "architecture": "INTEL-64",
101 "hpa-feature-attributes": [
103 "hpa-attribute-key": "instructionSetExtensions",
104 "hpa-attribute-value": [
122 "type": "flavor_directives",
125 "attribute_name": "flavor_label_vm_02",
126 "attribute_value": ""
133 "hpa-feature" : "cpuPinningy",
134 "mandatory" : "True",
135 "architecture": "generic",
137 "hpa-feature-attributes": [
138 {"hpa-attribute-key":"logicalCpuThreadPinningPolicy", "hpa-attribute-value":"<CPUTHREADPOLICY>", "operator": "=", "unit":""},
139 {"hpa-attribute-key":"logicalCpuPinningPolicy", "hpa-attribute-value": "<CPUPOLICY>","operator": "=", "unit":""}
143 "hpa-feature" : "basicCapabilities",
144 "mandatory" : "True",
145 "architecture": "generic",
147 "hpa-feature-attributes": [
148 {"hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "6", "operator": "=", "unit": ""},
149 {"hpa-attribute-key": "virtualMemSize", "hpa-attribute-value":"6", "operator": "=", "unit": "GB"}
153 "hpa-feature" : "localStorage",
154 "mandatory" : "False",
156 "architecture": "generic",
158 "hpa-feature-attributes": [
159 {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
160 {"hpa-attribute-key": "ephemeralDiskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
161 {"hpa-attribute-key": "swapMemSize", "hpa-attribute-value":"16", "operator": "=", "unit": "MB"}
165 "hpa-feature" : "pciePassthrough",
166 "mandatory" : "True",
167 "architecture": "generic",
169 "hpa-feature-attributes": [
170 {"hpa-attribute-key": "pciCount", "hpa-attribute-value": "2", "operator": "=", "unit": ""},
171 {"hpa-attribute-key": "pciVendorId", "hpa-attribute-value":"8086", "operator": "=", "unit": ""},
172 {"hpa-attribute-key": "pciDeviceId", "hpa-attribute-value": "2", "operator": "=", "unit": ""}
182 "type": "flavor_directives",
185 "attribute_name": "flavor_label_vm_03",
186 "attribute_value": ""
193 "hpa-feature" : "numa",
194 "mandatory" : "False",
196 "architecture": "generic",
198 "hpa-feature-attributes": [
199 {"hpa-attribute-key": "numaNodes", "hpa-attribute-value": "2", "operator": "=", "unit": ""},
200 {"hpa-attribute-key": "numaCpu-0", "hpa-attribute-value":"2", "operator": "=", "unit": ""},
201 {"hpa-attribute-key": "numaMem-0", "hpa-attribute-value": "2048", "operator": "=", "unit": "MB"},
202 {"hpa-attribute-key": "numaCpu-1", "hpa-attribute-value":"4", "operator": "=", "unit": ""},
203 {"hpa-attribute-key": "numaMem-1", "value": "4096", "operator": "=", "unit": "MB"}
207 "hpa-feature" : "basicCapabilities",
208 "mandatory" : "True",
209 "architecture": "generic",
211 "hpa-feature-attributes": [
212 {"hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "6", "operator": "=", "unit": ""},
213 {"hpa-attribute-key": "virtualMemSize", "hpa-attribute-value":"6", "operator": "=", "unit": "GB"}
217 "hpa-feature" : "hugePages",
218 "mandatory" : "False",
220 "architecture": "generic",
222 "hpa-feature-attributes": [
223 {"hpa-attribute-key": "memoryPageSize", "hpa-attribute-value": "<MEMORYPAGESIZE>", "operator": "=", "unit": ""}