2 libpath: /opt/app/osdf/libs
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: ['./ssl_certs/oof.crt', './ssl_certs/oof_new.key']
10 osdf_temp: # special configuration required for "workarounds" or testing
13 local_placement_policies_enabled: True
14 local_slice_selection_policies_enabled: True
15 local_nst_selection_policies_enabled: True
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
19 - Attribute_vNS_1.json
20 #- Capacity_vGMuxInfra.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
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
34 - hpa_policy_vFW_1.json
35 - Placement_Optimization_1.json
36 - QueryPolicy_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
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
49 nst_selection_policy_dir_embb-nst: "./test/policy-local-files/nst-selection-files/"
50 nst_selection_policy_files_embb-nst:
51 - query_policy_nst.json
52 - attribute_policy_nst.json
54 nst_selection_policy_dir_nst: "./test/policy-local-files/nst-selection-files/"
55 nst_selection_policy_files_nst:
56 - query_policy_nst.json
57 - attribute_policy_nst.json
59 - optimization_policy_nst.json
63 vcpeHostName: requestParameters.vcpeHostName
64 e2eVpnKey: requestParameters.e2eVpnKey
66 vcpeHostName: requestParameters.vcpeHostName
67 e2eVpnKey: requestParameters.e2eVpnKey
72 value: serviceInfo.serviceName
75 value: placementInfo.placementDemands.resourceModuleName
77 source: onap.policies.optimization.SubscriberPolicy
78 value: properties.properties.subscriberRole
84 prioritization_attributes:
88 - properties.resources
89 - properties.objectiveParameter.parameterAttributes.resources
94 policy_fetch: by_scope
98 - get_param: slice_scope
100 - get_param: service_name
102 - get_param: service_name
105 policy_fetch: by_scope
116 policy_fetch: by_scope
121 - get_param: service_name
123 - get_param: service_name
126 policy_fetch: by_scope
134 - get_param: service_name
136 - get_param: resource
138 # - get_param: service_name
139 # - get_param: subscriber_role
140 default: # if no explicit service related information is needed
141 policy_fetch: by_name
146 average_ho_threshold: 10000
147 latest_ho_threshold: 500
149 service_id: ho_metric
156 nsi: "service-instance*('service-instance-id','{{instance_id}}') > service-instance*('service-role','e2eserviceprofile-service')"
157 nsi_with_profile: "service-instance*('service-instance-id','{{instance_id}}') > service-instance*('service-role','e2eserviceprofile-service')('service-instance-id','{{profile_id}}')"
158 nssi: "service-instance*('service-instance-id','{{instance_id}}') > service-instance*('service-role','nsi')"
159 nssi_with_nsi: "service-instance*('service-instance-id','{{instance_id}}') > service-instance*('service-role','nsi')('service-instance-id','{{nsi_id}}')"