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 |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 8 | ssl_context: ['/opt/osdf/org.onap.oof.crt', '/opt/osdf/osaaf/local/org.onap.oof.key'] |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 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 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 15 | local_nst_selection_policies_enabled: True |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 16 | placement_policy_dir_vcpe: "./test/policy-local-files/" |
| 17 | placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 18 | - Affinity_vCPE_1.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 19 | - Attribute_vNS_1.json |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 20 | #- Capacity_vGMuxInfra.json |
| 21 | #- Capacity_vG_1.json |
| 22 | - Distance_vG_1.json |
| 23 | - Distance_vGMuxInfra_1.json |
| 24 | - hpa_policy_vG_1.json |
| 25 | - hpa_policy_vGMuxInfra_1.json |
| 26 | - Placement_Optimization_1.json |
| 27 | - QueryPolicy_vCPE.json |
| 28 | - vnfPolicy_vG.json |
| 29 | - vnfPolicy_vGMuxInfra.json |
| 30 | placement_policy_dir_vfw: "./test/policy-local-files/" |
| 31 | placement_policy_files_vfw: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 32 | #- Capacity_vFW_1.json |
| 33 | - Distance_vFW_1.json |
| 34 | - hpa_policy_vFW_1.json |
| 35 | - Placement_Optimization_1.json |
| 36 | - QueryPolicy_vFW.json |
| 37 | - vnfPolicy_vFW.json |
| 38 | placement_policy_dir_vfw_td: "./test/policy-local-files/" |
| 39 | placement_policy_files_vfw_td: |
| 40 | - vnfPolicy_vFW_TD.json |
| 41 | - vnfPolicy_vPGN_TD.json |
| 42 | - affinity_vFW_TD.json |
| 43 | - QueryPolicy_vFW_TD.json |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 44 | slice_selection_policy_dir_embb-nst: "./test/policy-local-files/slice-selection-files/" |
| 45 | slice_selection_policy_files_embb-nst: |
| 46 | - query_policy_nsi.json |
| 47 | - threshold_policy_nsi.json |
| 48 | - vnf_policy_nsi_shared_case.json |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 49 | nst_selection_policy_dir_nst: "./test/policy-local-files/nst-selection-files/" |
| 50 | nst_selection_policy_files_nst: |
| 51 | - query_policy_nst.json |
| 52 | - attribute_policy_nst.json |
| 53 | - vnf_policy_nst.json |
| 54 | - optimization_policy_nst.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 55 | |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 56 | service_info: |
| 57 | vCPE: |
| 58 | vcpeHostName: requestParameters.vcpeHostName |
| 59 | e2eVpnKey: requestParameters.e2eVpnKey |
| 60 | vFW: |
| 61 | vcpeHostName: requestParameters.vcpeHostName |
| 62 | e2eVpnKey: requestParameters.e2eVpnKey |
| 63 | |
| 64 | references: |
| 65 | service_name: |
| 66 | source: request |
| 67 | value: serviceInfo.serviceName |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 68 | resource: |
| 69 | source: request |
| 70 | value: placementInfo.placementDemands.resourceModuleName |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 71 | subscriber_role: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 72 | source: onap.policies.optimization.SubscriberPolicy |
| 73 | value: properties.properties.subscriberRole |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 74 | resource_sharing_level: |
| 75 | source: request |
| 76 | value: serviceProfile.resourceSharingLevel |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 77 | slice_scope: |
| 78 | source: request |
| 79 | value: slice_scope |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 80 | reuse_preference: |
| 81 | source: request |
| 82 | value: preferReuse |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 83 | |
| 84 | policy_info: |
| 85 | prioritization_attributes: |
| 86 | policy_type: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 87 | - type |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 88 | resources: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 89 | - properties.resources |
| 90 | - properties.objectiveParameter.parameterAttributes.resources |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 91 | service_name: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 92 | - properties.services |
| 93 | |
| 94 | slice_selection: |
| 95 | policy_fetch: by_scope |
| 96 | policy_scope: |
| 97 | - |
| 98 | scope: |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 99 | - get_param: slice_scope |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 100 | services: |
| 101 | - get_param: service_name |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 102 | resources: |
| 103 | - get_param: service_name |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 104 | |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 105 | nst_selection: |
| 106 | policy_fetch: by_scope |
| 107 | policy_scope: |
| 108 | - |
| 109 | scope: |
| 110 | - OSDF_GUILIN |
| 111 | services: |
| 112 | - nst |
| 113 | resources: |
| 114 | - nst |
| 115 | |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 116 | subnet_selection: |
| 117 | policy_fetch: by_scope |
| 118 | policy_scope: |
| 119 | - scope: |
| 120 | - OSDF_GUILIN |
| 121 | services: |
| 122 | - get_param: service_name |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 123 | resources: |
| 124 | - get_param: service_name |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 125 | |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 126 | placement: |
| 127 | policy_fetch: by_scope |
| 128 | policy_scope: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 129 | - |
| 130 | scope: |
| 131 | - OSDF_FRANKFURT |
| 132 | geography: |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 133 | - US |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 134 | services: |
| 135 | - get_param: service_name |
| 136 | resources: |
| 137 | - get_param: resource |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 138 | # - |
| 139 | # - get_param: service_name |
| 140 | # - get_param: subscriber_role |
| 141 | default: # if no explicit service related information is needed |
| 142 | policy_fetch: by_name |
| 143 | policy_scope: none |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 144 | |
| 145 | PCI: |
| 146 | ML: |
| 147 | average_ho_threshold: 10000 |
| 148 | latest_ho_threshold: 500 |
| 149 | DES: |
| 150 | service_id: ho_metric |
| 151 | filter: |
| 152 | interval: 10 |
| 153 | ml_enabled: false |