blob: 78afa5e5f890d50e0b6f95dd46140f48184ceb4b [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
krishnaa9624a7ef32020-10-09 12:01:05 +05308 ssl_context: ['/opt/osdf/org.onap.oof.crt', '/opt/osdf/osaaf/local/org.onap.oof.key']
vrvarma8f500492019-04-25 23:08:01 -04009
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
krishnaa963865d692021-02-22 20:53:44 +053015 local_nst_selection_policies_enabled: True
vrvarma8f500492019-04-25 23:08:01 -040016 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 Opasiak1cddd1d2020-04-16 20:06:50 +020019 - Attribute_vNS_1.json
vrvarma8f500492019-04-25 23:08:01 -040020 #- 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
krishnaa96dd54b962020-09-21 14:52:16 +053044 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
krishnaa963865d692021-02-22 20:53:44 +053049 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 Opasiak1cddd1d2020-04-16 20:06:50 +020055
vrvarma8f500492019-04-25 23:08:01 -040056service_info:
57 vCPE:
58 vcpeHostName: requestParameters.vcpeHostName
59 e2eVpnKey: requestParameters.e2eVpnKey
60 vFW:
61 vcpeHostName: requestParameters.vcpeHostName
62 e2eVpnKey: requestParameters.e2eVpnKey
63
64references:
65 service_name:
66 source: request
67 value: serviceInfo.serviceName
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020068 resource:
69 source: request
70 value: placementInfo.placementDemands.resourceModuleName
vrvarma8f500492019-04-25 23:08:01 -040071 subscriber_role:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020072 source: onap.policies.optimization.SubscriberPolicy
73 value: properties.properties.subscriberRole
krishnaa96dd54b962020-09-21 14:52:16 +053074 resource_sharing_level:
75 source: request
76 value: serviceProfile.resourceSharingLevel
krishnaa9624a7ef32020-10-09 12:01:05 +053077 slice_scope:
78 source: request
79 value: slice_scope
krishnaa96dd54b962020-09-21 14:52:16 +053080 reuse_preference:
81 source: request
82 value: preferReuse
vrvarma8f500492019-04-25 23:08:01 -040083
84policy_info:
85 prioritization_attributes:
86 policy_type:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020087 - type
vrvarma8f500492019-04-25 23:08:01 -040088 resources:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020089 - properties.resources
90 - properties.objectiveParameter.parameterAttributes.resources
vrvarma8f500492019-04-25 23:08:01 -040091 service_name:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020092 - properties.services
93
94 slice_selection:
95 policy_fetch: by_scope
96 policy_scope:
97 -
98 scope:
krishnaa9624a7ef32020-10-09 12:01:05 +053099 - get_param: slice_scope
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200100 services:
101 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +0530102 resources:
103 - get_param: service_name
vrvarma8f500492019-04-25 23:08:01 -0400104
krishnaa963865d692021-02-22 20:53:44 +0530105 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
krishnaa96dd54b962020-09-21 14:52:16 +0530116 subnet_selection:
117 policy_fetch: by_scope
118 policy_scope:
119 - scope:
120 - OSDF_GUILIN
121 services:
122 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +0530123 resources:
124 - get_param: service_name
krishnaa96dd54b962020-09-21 14:52:16 +0530125
vrvarma8f500492019-04-25 23:08:01 -0400126 placement:
127 policy_fetch: by_scope
128 policy_scope:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200129 -
130 scope:
131 - OSDF_FRANKFURT
132 geography:
vrvarma8f500492019-04-25 23:08:01 -0400133 - US
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200134 services:
135 - get_param: service_name
136 resources:
137 - get_param: resource
vrvarma8f500492019-04-25 23:08:01 -0400138 # -
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
krishnaa96dd54b962020-09-21 14:52:16 +0530144
145PCI:
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