blob: bfee39b96752c298aed24774db1f1e7321bdce69 [file] [log] [blame]
vrvarma8f500492019-04-25 23:08:01 -04001osdf_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
10osdf_temp: # special configuration required for "workarounds" or testing
11 local_policies:
12 global_disabled: True
13 local_placement_policies_enabled: True
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020014 local_slice_selection_policies_enabled: True
vrvarma8f500492019-04-25 23:08:01 -040015 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 Opasiak1cddd1d2020-04-16 20:06:50 +020018 - Attribute_vNS_1.json
vrvarma8f500492019-04-25 23:08:01 -040019 #- 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 Opasiak1cddd1d2020-04-16 20:06:50 +020043
44 slice_selection_policy_dir_urllc_1: "./test/policy-local-files/"
45 slice_selection_policy_files_urllc_1:
46 - vnfPolicy_URLLC_Core_1.json
47 - thresholdPolicy_URLLC_Core_1_reliability.json
48 - thresholdPolicy_URLLC_Core_1_latency.json
49 - subscriber_policy_URLLC_1.json
50
vrvarma8f500492019-04-25 23:08:01 -040051service_info:
52 vCPE:
53 vcpeHostName: requestParameters.vcpeHostName
54 e2eVpnKey: requestParameters.e2eVpnKey
55 vFW:
56 vcpeHostName: requestParameters.vcpeHostName
57 e2eVpnKey: requestParameters.e2eVpnKey
58
59references:
60 service_name:
61 source: request
62 value: serviceInfo.serviceName
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020063 resource:
64 source: request
65 value: placementInfo.placementDemands.resourceModuleName
vrvarma8f500492019-04-25 23:08:01 -040066 subscriber_role:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020067 source: onap.policies.optimization.SubscriberPolicy
68 value: properties.properties.subscriberRole
vrvarma8f500492019-04-25 23:08:01 -040069
70policy_info:
71 prioritization_attributes:
72 policy_type:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020073 - type
vrvarma8f500492019-04-25 23:08:01 -040074 resources:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020075 - properties.resources
76 - properties.objectiveParameter.parameterAttributes.resources
vrvarma8f500492019-04-25 23:08:01 -040077 service_name:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020078 - properties.services
79
80 slice_selection:
81 policy_fetch: by_scope
82 policy_scope:
83 -
84 scope:
85 - OSDF_FRANKFURT
86 services:
87 - get_param: service_name
vrvarma8f500492019-04-25 23:08:01 -040088
89 placement:
90 policy_fetch: by_scope
91 policy_scope:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020092 -
93 scope:
94 - OSDF_FRANKFURT
95 geography:
vrvarma8f500492019-04-25 23:08:01 -040096 - US
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020097 services:
98 - get_param: service_name
99 resources:
100 - get_param: resource
vrvarma8f500492019-04-25 23:08:01 -0400101 # -
102 # - get_param: service_name
103 # - get_param: subscriber_role
104 default: # if no explicit service related information is needed
105 policy_fetch: by_name
106 policy_scope: none