3 "OSDF_FRANKFURT.SubscriberPolicy_v1": {
4 "type": "onap.policies.optimization.SubscriberPolicy",
6 "type_version": "1.0.0",
8 "policy-id": "OSDF_FRANKFURT.SubscriberPolicy_v1",
18 "identity": "subscriber_vCPE",
33 "OSDF_FRANKFURT.vnfPolicy_vG": {
34 "type": "onap.policies.optimization.VnfPolicy",
36 "type_version": "1.0.0",
38 "policy-id": "OSDF_FRANKFURT.vnfPolicy_vG",
56 "applicableResources": "any",
59 "inventoryProvider": "aai",
61 "inventoryType": "cloud",
63 "orchestrationStatus": "",
69 "OSDF_FRANKFURT.vnfPolicy_vGMuxInfra": {
70 "type": "onap.policies.optimization.VnfPolicy",
72 "type_version": "1.0.0",
74 "policy-id": "OSDF_FRANKFURT.vnfPolicy_vGMuxInfra",
91 "identity": "vnf_vGMuxInfra",
92 "applicableResources": "any",
95 "inventoryProvider": "aai",
96 "serviceType": "vGMuxInfra-xx",
97 "inventoryType": "service",
98 "customerId": "SDN-ETHERNET-INTERNET",
99 "orchestrationStatus": "",
105 "OSDF_FRANKFURT.Distance_vG_1": {
106 "type": "onap.policies.optimization.DistancePolicy",
108 "type_version": "1.0.0",
110 "policy-id": "OSDF_FRANKFURT.Distance_vG_1",
127 "identity": "distance-vG",
128 "applicableResources": "any",
129 "distanceProperties": {
130 "locationInfo": "customer_loc",
139 "OSDF_FRANKFURT.Distance_vGMuxInfra": {
140 "type": "onap.policies.optimization.DistancePolicy",
142 "type_version": "1.0.0",
144 "policy-id": "OSDF_FRANKFURT.Distance_vGMuxInfra",
161 "identity": "distance-vGMuxInfra",
162 "applicableResources": "any",
163 "distanceProperties": {
164 "locationInfo": "customer_loc",
173 "OSDF_FRANKFURT.Placement_optimization_1": {
174 "type": "onap.policies.optimization.OptimizationPolicy",
176 "type_version": "1.0.0",
178 "policy-id": "OSDF_FRANKFURT.Placement_optimization_1",
196 "identity": "optimization",
197 "objective": "minimize",
198 "objectiveParameter": {
199 "parameterAttributes": [
204 "customerLocationInfo": "customer_loc",
205 "parameter": "distance",
207 "operator": "product"
213 "customerLocationInfo": "customer_loc",
214 "parameter": "distance",
216 "operator": "product"
222 "parameter": "hpa_score",
224 "operator": "product"
230 "customerLocationInfo": "customer_loc",
231 "parameter": "distance",
233 "operator": "product"
239 "parameter": "hpa_score",
241 "operator": "product"
248 "OSDF_FRANKFURT.queryPolicy_vCPE": {
249 "type": "onap.policies.optimization.QueryPolicy",
251 "type_version": "1.0.0",
253 "policy-id": "OSDF_FRANKFURT.queryPolicy_vCPE",
271 "identity": "vCPE_Query_Policy",
274 "attribute": "customerLatitude",
275 "attribute_location": "customerLatitude"
278 "attribute": "customerLongitude",
279 "attribute_location": "customerLongitude"
284 "OSDF_FRANKFURT.hpa_policy_vG_1": {
285 "type": "onap.policies.optimization.HpaPolicy",
287 "type_version": "1.0.0",
289 "policy-id": "OSDF_FRANKFURT.hpa_policy_vG_1",
306 "identity": "hpa-vG",
313 "type": "flavor_directives",
316 "attribute_name": "flavor_label_vm_01",
317 "attribute_value": ""
322 "flavorProperties": [
324 "hpa-feature": "cpuTopology",
326 "architecture": "generic",
328 "hpa-feature-attributes": [
330 "hpa-attribute-key": "numCpuSockets",
331 "hpa-attribute-value": "2",
336 "hpa-attribute-key": "numCpuSockets",
337 "hpa-attribute-value": "4",
342 "hpa-attribute-key": "numCpuCores",
343 "hpa-attribute-value": "2",
348 "hpa-attribute-key": "numCpuCores",
349 "hpa-attribute-value": "4",
354 "hpa-attribute-key": "numCpuThreads",
355 "hpa-attribute-value": "4",
360 "hpa-attribute-key": "numCpuThreads",
361 "hpa-attribute-value": "8",
368 "hpa-feature": "basicCapabilities",
370 "architecture": "generic",
372 "hpa-feature-attributes": [
374 "hpa-attribute-key": "numVirtualCpu",
375 "hpa-attribute-value": 6,
382 "hpa-attribute-key": "virtualMemSize",
383 "hpa-attribute-value": 6,
392 "hpa-feature": "ovsDpdk",
395 "architecture": "generic",
397 "hpa-feature-attributes": [
399 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
400 "hpa-attribute-value": "ovsDpdk_version",
409 "hpa-feature": "cpuInstructionSetExtensions",
411 "architecture": "INTEL-64",
413 "hpa-feature-attributes": [
415 "hpa-attribute-key": "instructionSetExtensions",
416 "hpa-attribute-value": [
434 "type": "flavor_directives",
437 "attribute_name": "flavor_label_vm_02",
438 "attribute_value": ""
443 "flavorProperties": [
445 "hpa-feature": "cpuPinningy",
447 "architecture": "generic",
449 "hpa-feature-attributes": [
451 "hpa-attribute-key": "logicalCpuThreadPinningPolicy",
452 "hpa-attribute-value": "<CPUTHREADPOLICY>",
457 "hpa-attribute-key": "logicalCpuPinningPolicy",
458 "hpa-attribute-value": "<CPUPOLICY>",
465 "hpa-feature": "basicCapabilities",
467 "architecture": "generic",
469 "hpa-feature-attributes": [
471 "hpa-attribute-key": "numVirtualCpu",
472 "hpa-attribute-value": "6",
477 "hpa-attribute-key": "virtualMemSize",
478 "hpa-attribute-value": "6",
485 "hpa-feature": "localStorage",
486 "mandatory": "False",
488 "architecture": "generic",
490 "hpa-feature-attributes": [
492 "hpa-attribute-key": "diskSize",
493 "hpa-attribute-value": "2",
498 "hpa-attribute-key": "ephemeralDiskSize",
499 "hpa-attribute-value": "2",
504 "hpa-attribute-key": "swapMemSize",
505 "hpa-attribute-value": "16",
512 "hpa-feature": "pciePassthrough",
514 "architecture": "generic",
516 "hpa-feature-attributes": [
518 "hpa-attribute-key": "pciCount",
519 "hpa-attribute-value": "2",
524 "hpa-attribute-key": "pciVendorId",
525 "hpa-attribute-value": "8086",
530 "hpa-attribute-key": "pciDeviceId",
531 "hpa-attribute-value": "2",
544 "type": "flavor_directives",
547 "attribute_name": "flavor_label_vm_03",
548 "attribute_value": ""
553 "flavorProperties": [
555 "hpa-feature": "numa",
556 "mandatory": "False",
558 "architecture": "generic",
560 "hpa-feature-attributes": [
562 "hpa-attribute-key": "numaNodes",
563 "hpa-attribute-value": "2",
568 "hpa-attribute-key": "numaCpu-0",
569 "hpa-attribute-value": "2",
574 "hpa-attribute-key": "numaMem-0",
575 "hpa-attribute-value": "2048",
580 "hpa-attribute-key": "numaCpu-1",
581 "hpa-attribute-value": "4",
586 "hpa-attribute-key": "numaMem-1",
594 "hpa-feature": "basicCapabilities",
596 "architecture": "generic",
598 "hpa-feature-attributes": [
600 "hpa-attribute-key": "numVirtualCpu",
601 "hpa-attribute-value": "6",
606 "hpa-attribute-key": "virtualMemSize",
607 "hpa-attribute-value": "6",
614 "hpa-feature": "hugePages",
615 "mandatory": "False",
617 "architecture": "generic",
619 "hpa-feature-attributes": [
621 "hpa-attribute-key": "memoryPageSize",
622 "hpa-attribute-value": "<MEMORYPAGESIZE>",
633 "OSDF_FRANKFURT.Capacity_vG_1": {
634 "type": "onap.policies.optimization.Vim_fit",
636 "type_version": "1.0.0",
638 "policy-id": "OSDF_FRANKFURT.Capacity_vG_1",
655 "identity": "capacity_vG",
656 "applicableResources": "any",
657 "capacityProperty": {
658 "controller": "multicloud",
659 "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
663 "OSDF_FRANKFURT.Capacity_vGMuxInfra": {
664 "type": "onap.policies.optimization.Vim_fit",
666 "type_version": "1.0.0",
668 "policy-id": "OSDF_FRANKFURT.Capacity_vGMuxInfra",
685 "identity": "capacity_vGMuxInfra",
686 "applicableResources": "any",
687 "capacityProperty": {
688 "controller": "multicloud",
689 "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"