blob: 394bece9d96ed100336d73caabedef13cd4e525d [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
vrvarma8f500492019-04-25 23:08:01 -04007
8osdf_temp: # special configuration required for "workarounds" or testing
9 local_policies:
10 global_disabled: True
11 local_placement_policies_enabled: True
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020012 local_slice_selection_policies_enabled: True
krishnaa963865d692021-02-22 20:53:44 +053013 local_nst_selection_policies_enabled: True
vrvarma8f500492019-04-25 23:08:01 -040014 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 Opasiak1cddd1d2020-04-16 20:06:50 +020017 - Attribute_vNS_1.json
vrvarma8f500492019-04-25 23:08:01 -040018 #- 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
krishnaa96dd54b962020-09-21 14:52:16 +053042 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
krishnaa963865d692021-02-22 20:53:44 +053047 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 Opasiak1cddd1d2020-04-16 20:06:50 +020053
vrvarma8f500492019-04-25 23:08:01 -040054service_info:
55 vCPE:
56 vcpeHostName: requestParameters.vcpeHostName
57 e2eVpnKey: requestParameters.e2eVpnKey
58 vFW:
59 vcpeHostName: requestParameters.vcpeHostName
60 e2eVpnKey: requestParameters.e2eVpnKey
61
62references:
63 service_name:
64 source: request
65 value: serviceInfo.serviceName
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020066 resource:
67 source: request
68 value: placementInfo.placementDemands.resourceModuleName
vrvarma8f500492019-04-25 23:08:01 -040069 subscriber_role:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020070 source: onap.policies.optimization.SubscriberPolicy
71 value: properties.properties.subscriberRole
krishnaa96dd54b962020-09-21 14:52:16 +053072 resource_sharing_level:
73 source: request
74 value: serviceProfile.resourceSharingLevel
krishnaa9624a7ef32020-10-09 12:01:05 +053075 slice_scope:
76 source: request
77 value: slice_scope
krishnaa96dd54b962020-09-21 14:52:16 +053078 reuse_preference:
79 source: request
80 value: preferReuse
vrvarma8f500492019-04-25 23:08:01 -040081
82policy_info:
83 prioritization_attributes:
84 policy_type:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020085 - type
vrvarma8f500492019-04-25 23:08:01 -040086 resources:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020087 - properties.resources
88 - properties.objectiveParameter.parameterAttributes.resources
vrvarma8f500492019-04-25 23:08:01 -040089 service_name:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020090 - properties.services
91
92 slice_selection:
93 policy_fetch: by_scope
94 policy_scope:
95 -
96 scope:
krishnaa9624a7ef32020-10-09 12:01:05 +053097 - get_param: slice_scope
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020098 services:
99 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +0530100 resources:
101 - get_param: service_name
vrvarma8f500492019-04-25 23:08:01 -0400102
krishnaa963865d692021-02-22 20:53:44 +0530103 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 Rajadbe020a2023-01-11 17:05:40 +0000114 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
krishnaa96dd54b962020-09-21 14:52:16 +0530125 subnet_selection:
126 policy_fetch: by_scope
127 policy_scope:
128 - scope:
129 - OSDF_GUILIN
130 services:
131 - get_param: service_name
krishnaa9624a7ef32020-10-09 12:01:05 +0530132 resources:
133 - get_param: service_name
krishnaa96dd54b962020-09-21 14:52:16 +0530134
vrvarma8f500492019-04-25 23:08:01 -0400135 placement:
136 policy_fetch: by_scope
137 policy_scope:
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200138 -
139 scope:
140 - OSDF_FRANKFURT
141 geography:
vrvarma8f500492019-04-25 23:08:01 -0400142 - US
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +0200143 services:
144 - get_param: service_name
145 resources:
146 - get_param: resource
vrvarma8f500492019-04-25 23:08:01 -0400147 # -
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
krishnaa96dd54b962020-09-21 14:52:16 +0530153
154PCI:
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
krishnaa96dee0af52021-07-20 16:23:25 +0530163
164nxi_termination:
Malarvizhi2202ad32021-11-24 06:16:41 +0000165 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')"
malarb2626512022-04-28 15:15:14 +0000174 - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_FH') > service-instance*('workload-context','AN')"
Malarvizhi2202ad32021-11-24 06:16:41 +0000175 - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN_NF') > service-instance*('workload-context','AN')"