vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 1 | osdf_system: |
| 2 | libpath: /opt/app/osdf/libs |
| 3 | osdf_ports: |
| 4 | internal: 8699 # inside the Docker container, the app listens to this port |
| 5 | external: 8698 # clients use this port on DockerHost |
| 6 | osdf_ip_default: 0.0.0.0 |
| 7 | # # Important Note: At deployment time, we need to ensure the port mapping is done |
| 8 | ssl_context: ['/opt/app/ssl_cert/org.onap.oof.crt', '/opt/app/ssl_cert/org.onap.oof.key'] |
| 9 | |
| 10 | osdf_temp: # special configuration required for "workarounds" or testing |
| 11 | local_policies: |
| 12 | global_disabled: True |
| 13 | local_placement_policies_enabled: True |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 14 | local_slice_selection_policies_enabled: True |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 15 | placement_policy_dir_vcpe: "./test/policy-local-files/" |
| 16 | placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 17 | - Affinity_vCPE_1.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 18 | - Attribute_vNS_1.json |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 19 | #- Capacity_vGMuxInfra.json |
| 20 | #- Capacity_vG_1.json |
| 21 | - Distance_vG_1.json |
| 22 | - Distance_vGMuxInfra_1.json |
| 23 | - hpa_policy_vG_1.json |
| 24 | - hpa_policy_vGMuxInfra_1.json |
| 25 | - Placement_Optimization_1.json |
| 26 | - QueryPolicy_vCPE.json |
| 27 | - vnfPolicy_vG.json |
| 28 | - vnfPolicy_vGMuxInfra.json |
| 29 | placement_policy_dir_vfw: "./test/policy-local-files/" |
| 30 | placement_policy_files_vfw: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 31 | #- Capacity_vFW_1.json |
| 32 | - Distance_vFW_1.json |
| 33 | - hpa_policy_vFW_1.json |
| 34 | - Placement_Optimization_1.json |
| 35 | - QueryPolicy_vFW.json |
| 36 | - vnfPolicy_vFW.json |
| 37 | placement_policy_dir_vfw_td: "./test/policy-local-files/" |
| 38 | placement_policy_files_vfw_td: |
| 39 | - vnfPolicy_vFW_TD.json |
| 40 | - vnfPolicy_vPGN_TD.json |
| 41 | - affinity_vFW_TD.json |
| 42 | - QueryPolicy_vFW_TD.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 43 | |
| 44 | slice_selection_policy_dir_urllc_1: "./test/policy-local-files/" |
| 45 | slice_selection_policy_files_urllc_1: |
| 46 | - vnfPolicy_URLLC_Core_1.json |
vrvarma | 96294cd | 2020-05-25 12:36:54 -0400 | [diff] [blame] | 47 | - thresholdPolicy_URLLC_Core_1.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 48 | - subscriber_policy_URLLC_1.json |
| 49 | |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 50 | service_info: |
| 51 | vCPE: |
| 52 | vcpeHostName: requestParameters.vcpeHostName |
| 53 | e2eVpnKey: requestParameters.e2eVpnKey |
| 54 | vFW: |
| 55 | vcpeHostName: requestParameters.vcpeHostName |
| 56 | e2eVpnKey: requestParameters.e2eVpnKey |
| 57 | |
| 58 | references: |
| 59 | service_name: |
| 60 | source: request |
| 61 | value: serviceInfo.serviceName |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 62 | resource: |
| 63 | source: request |
| 64 | value: placementInfo.placementDemands.resourceModuleName |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 65 | subscriber_role: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 66 | source: onap.policies.optimization.SubscriberPolicy |
| 67 | value: properties.properties.subscriberRole |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 68 | |
| 69 | policy_info: |
| 70 | prioritization_attributes: |
| 71 | policy_type: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 72 | - type |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 73 | resources: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 74 | - properties.resources |
| 75 | - properties.objectiveParameter.parameterAttributes.resources |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 76 | service_name: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 77 | - properties.services |
| 78 | |
| 79 | slice_selection: |
| 80 | policy_fetch: by_scope |
| 81 | policy_scope: |
| 82 | - |
| 83 | scope: |
| 84 | - OSDF_FRANKFURT |
| 85 | services: |
| 86 | - get_param: service_name |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 87 | |
| 88 | placement: |
| 89 | policy_fetch: by_scope |
| 90 | policy_scope: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 91 | - |
| 92 | scope: |
| 93 | - OSDF_FRANKFURT |
| 94 | geography: |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 95 | - US |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 96 | services: |
| 97 | - get_param: service_name |
| 98 | resources: |
| 99 | - get_param: resource |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 100 | # - |
| 101 | # - get_param: service_name |
| 102 | # - get_param: subscriber_role |
| 103 | default: # if no explicit service related information is needed |
| 104 | policy_fetch: by_name |
| 105 | policy_scope: none |