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 |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 7 | |
| 8 | osdf_temp: # special configuration required for "workarounds" or testing |
| 9 | local_policies: |
| 10 | global_disabled: True |
| 11 | local_placement_policies_enabled: True |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 12 | local_slice_selection_policies_enabled: True |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 13 | local_nst_selection_policies_enabled: True |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 14 | placement_policy_dir_vcpe: "./test/policy-local-files/" |
| 15 | placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 16 | - Affinity_vCPE_1.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 17 | - Attribute_vNS_1.json |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 18 | #- Capacity_vGMuxInfra.json |
| 19 | #- Capacity_vG_1.json |
| 20 | - Distance_vG_1.json |
| 21 | - Distance_vGMuxInfra_1.json |
| 22 | - hpa_policy_vG_1.json |
| 23 | - hpa_policy_vGMuxInfra_1.json |
| 24 | - Placement_Optimization_1.json |
| 25 | - QueryPolicy_vCPE.json |
| 26 | - vnfPolicy_vG.json |
| 27 | - vnfPolicy_vGMuxInfra.json |
| 28 | placement_policy_dir_vfw: "./test/policy-local-files/" |
| 29 | placement_policy_files_vfw: # workaroud for policy platform glitches (or "work-arounds" for other components) |
| 30 | #- Capacity_vFW_1.json |
| 31 | - Distance_vFW_1.json |
| 32 | - hpa_policy_vFW_1.json |
| 33 | - Placement_Optimization_1.json |
| 34 | - QueryPolicy_vFW.json |
| 35 | - vnfPolicy_vFW.json |
| 36 | placement_policy_dir_vfw_td: "./test/policy-local-files/" |
| 37 | placement_policy_files_vfw_td: |
| 38 | - vnfPolicy_vFW_TD.json |
| 39 | - vnfPolicy_vPGN_TD.json |
| 40 | - affinity_vFW_TD.json |
| 41 | - QueryPolicy_vFW_TD.json |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 42 | slice_selection_policy_dir_embb-nst: "./test/policy-local-files/slice-selection-files/" |
| 43 | slice_selection_policy_files_embb-nst: |
| 44 | - query_policy_nsi.json |
| 45 | - threshold_policy_nsi.json |
| 46 | - vnf_policy_nsi_shared_case.json |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 47 | nst_selection_policy_dir_nst: "./test/policy-local-files/nst-selection-files/" |
| 48 | nst_selection_policy_files_nst: |
| 49 | - query_policy_nst.json |
| 50 | - attribute_policy_nst.json |
| 51 | - vnf_policy_nst.json |
| 52 | - optimization_policy_nst.json |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 53 | |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 54 | service_info: |
| 55 | vCPE: |
| 56 | vcpeHostName: requestParameters.vcpeHostName |
| 57 | e2eVpnKey: requestParameters.e2eVpnKey |
| 58 | vFW: |
| 59 | vcpeHostName: requestParameters.vcpeHostName |
| 60 | e2eVpnKey: requestParameters.e2eVpnKey |
| 61 | |
| 62 | references: |
| 63 | service_name: |
| 64 | source: request |
| 65 | value: serviceInfo.serviceName |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 66 | resource: |
| 67 | source: request |
| 68 | value: placementInfo.placementDemands.resourceModuleName |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 69 | subscriber_role: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 70 | source: onap.policies.optimization.SubscriberPolicy |
| 71 | value: properties.properties.subscriberRole |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 72 | resource_sharing_level: |
| 73 | source: request |
| 74 | value: serviceProfile.resourceSharingLevel |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 75 | slice_scope: |
| 76 | source: request |
| 77 | value: slice_scope |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 78 | reuse_preference: |
| 79 | source: request |
| 80 | value: preferReuse |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 81 | |
| 82 | policy_info: |
| 83 | prioritization_attributes: |
| 84 | policy_type: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 85 | - type |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 86 | resources: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 87 | - properties.resources |
| 88 | - properties.objectiveParameter.parameterAttributes.resources |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 89 | service_name: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 90 | - properties.services |
| 91 | |
| 92 | slice_selection: |
| 93 | policy_fetch: by_scope |
| 94 | policy_scope: |
| 95 | - |
| 96 | scope: |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 97 | - get_param: slice_scope |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 98 | services: |
| 99 | - get_param: service_name |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 100 | resources: |
| 101 | - get_param: service_name |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 102 | |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 103 | nst_selection: |
| 104 | policy_fetch: by_scope |
| 105 | policy_scope: |
| 106 | - |
| 107 | scope: |
| 108 | - OSDF_GUILIN |
| 109 | services: |
| 110 | - nst |
| 111 | resources: |
| 112 | - nst |
| 113 | |
Aleem Raja | dbe020a | 2023-01-11 17:05:40 +0000 | [diff] [blame] | 114 | nsst_selection: |
| 115 | policy_fetch: by_scope |
| 116 | policy_scope: |
| 117 | - |
| 118 | scope: |
| 119 | - OSDF_GUILIN |
| 120 | services: |
| 121 | - nsst |
| 122 | resources: |
| 123 | - nsst |
| 124 | |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 125 | subnet_selection: |
| 126 | policy_fetch: by_scope |
| 127 | policy_scope: |
| 128 | - scope: |
| 129 | - OSDF_GUILIN |
| 130 | services: |
| 131 | - get_param: service_name |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 132 | resources: |
| 133 | - get_param: service_name |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 134 | |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 135 | placement: |
| 136 | policy_fetch: by_scope |
| 137 | policy_scope: |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 138 | - |
| 139 | scope: |
| 140 | - OSDF_FRANKFURT |
| 141 | geography: |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 142 | - US |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 143 | services: |
| 144 | - get_param: service_name |
| 145 | resources: |
| 146 | - get_param: resource |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 147 | # - |
| 148 | # - get_param: service_name |
| 149 | # - get_param: subscriber_role |
| 150 | default: # if no explicit service related information is needed |
| 151 | policy_fetch: by_name |
| 152 | policy_scope: none |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 153 | |
| 154 | PCI: |
| 155 | ML: |
| 156 | average_ho_threshold: 10000 |
| 157 | latest_ho_threshold: 500 |
| 158 | DES: |
| 159 | service_id: ho_metric |
| 160 | filter: |
| 161 | interval: 10 |
| 162 | ml_enabled: false |
krishnaa96 | dee0af5 | 2021-07-20 16:23:25 +0530 | [diff] [blame] | 163 | |
| 164 | nxi_termination: |
Malarvizhi | 2202ad3 | 2021-11-24 06:16:41 +0000 | [diff] [blame] | 165 | query_templates: |
| 166 | nsi: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')" |
| 167 | nsi_with_profile: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')('service-instance-id','{{ printf "{{profile_id}}" }}')" |
| 168 | nssi: |
| 169 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'CN') > service-instance*('service-role','nsi')" |
| 170 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_BH') > service-instance*('service-role','nsi')" |
| 171 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN') > service-instance*('service-role','nsi')" |
| 172 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN_NF') > service-instance*('workload-context','AN')" |
| 173 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_MH') > service-instance*('workload-context','AN')" |
malar | b262651 | 2022-04-28 15:15:14 +0000 | [diff] [blame] | 174 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_FH') > service-instance*('workload-context','AN')" |
Malarvizhi | 2202ad3 | 2021-11-24 06:16:41 +0000 | [diff] [blame] | 175 | - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN_NF') > service-instance*('workload-context','AN')" |