blob: 1109ab81678d5ef994f0b3d5dc6a87f2814ac21d [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
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
krishnaa96dd54b962020-09-21 14:52:16 +053043 slice_selection_policy_dir_embb-nst: "./test/policy-local-files/slice-selection-files/"
44 slice_selection_policy_files_embb-nst:
45 - query_policy_nsi.json
46 - threshold_policy_nsi.json
47 - vnf_policy_nsi_shared_case.json
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020048
vrvarma8f500492019-04-25 23:08:01 -040049service_info:
50 vCPE:
51 vcpeHostName: requestParameters.vcpeHostName
52 e2eVpnKey: requestParameters.e2eVpnKey
53 vFW:
54 vcpeHostName: requestParameters.vcpeHostName
55 e2eVpnKey: requestParameters.e2eVpnKey
56
57references:
58 service_name:
59 source: request
60 value: serviceInfo.serviceName
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020061 resource:
62 source: request
63 value: placementInfo.placementDemands.resourceModuleName
vrvarma8f500492019-04-25 23:08:01 -040064 subscriber_role:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020065 source: onap.policies.optimization.SubscriberPolicy
66 value: properties.properties.subscriberRole
krishnaa96dd54b962020-09-21 14:52:16 +053067 resource_sharing_level:
68 source: request
69 value: serviceProfile.resourceSharingLevel
krishnaa9624a7ef32020-10-09 12:01:05 +053070 slice_scope:
71 source: request
72 value: slice_scope
krishnaa96dd54b962020-09-21 14:52:16 +053073 reuse_preference:
74 source: request
75 value: preferReuse
vrvarma8f500492019-04-25 23:08:01 -040076
77policy_info:
78 prioritization_attributes:
79 policy_type:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020080 - type
vrvarma8f500492019-04-25 23:08:01 -040081 resources:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020082 - properties.resources
83 - properties.objectiveParameter.parameterAttributes.resources
vrvarma8f500492019-04-25 23:08:01 -040084 service_name:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020085 - properties.services
86
87 slice_selection:
88 policy_fetch: by_scope
89 policy_scope:
90 -
91 scope:
krishnaa9624a7ef32020-10-09 12:01:05 +053092 - get_param: slice_scope
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020093 services:
94 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +053095 resources:
96 - get_param: service_name
vrvarma8f500492019-04-25 23:08:01 -040097
krishnaa96dd54b962020-09-21 14:52:16 +053098 subnet_selection:
99 policy_fetch: by_scope
100 policy_scope:
101 - scope:
102 - OSDF_GUILIN
103 services:
104 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +0530105 resources:
106 - get_param: service_name
krishnaa96dd54b962020-09-21 14:52:16 +0530107
vrvarma8f500492019-04-25 23:08:01 -0400108 placement:
109 policy_fetch: by_scope
110 policy_scope:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200111 -
112 scope:
113 - OSDF_FRANKFURT
114 geography:
vrvarma8f500492019-04-25 23:08:01 -0400115 - US
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200116 services:
117 - get_param: service_name
118 resources:
119 - get_param: resource
vrvarma8f500492019-04-25 23:08:01 -0400120 # -
121 # - get_param: service_name
122 # - get_param: subscriber_role
123 default: # if no explicit service related information is needed
124 policy_fetch: by_name
125 policy_scope: none
krishnaa96dd54b962020-09-21 14:52:16 +0530126
127PCI:
128 ML:
129 average_ho_threshold: 10000
130 latest_ho_threshold: 500
131 DES:
132 service_id: ho_metric
133 filter:
134 interval: 10
135 ml_enabled: false