Re-org folders, onboard test folder, test config
[optf/osdf.git] / config / common_config.yaml
1 osdf_system:
2     libpath: /opt/app/osdf/libs
3     sniro_ports:
4         internal: 24699  # inside the Docker container, the app listens to this port
5         external: 14699  # clients use this port on DockerHost
6         # Important Note: At deployment time, we need to ensure the port mapping is done
7     ssl_context: ['./../etc/sniromanager.crt', './../etc/sniromanager.key']
8
9 osdf_temp:  # hacks required for "workarounds" or testing
10     local_policies:
11         global_disabled: True
12         local_placement_policies_enabled: True
13         placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components)
14             - CloudAttributePolicy_vGMuxInfra_1.json
15             - CloudAttributePolicy_vG_1.json
16             - DistanceToLocationPolicy_vGMuxInfra_1.json
17             - DistanceToLocationPolicy_vG_1.json
18             - InventoryGroup_vGMuxInfra_1.json
19             - InventoryGroup_vG_1.json
20             - PlacementOptimizationPolicy.json
21             - ResourceInstancePolicy_vG_1.json
22             - VNFPolicy_vGMuxInfra_1.json
23             - VNFPolicy_vG_1.json
24             - ZonePolicy_vGMuxInfra_1.json
25             - ZonePolicy_vG_1.json
26
27 service_info:
28     vCPE:
29         vcpeHostName: requestParameters.vcpeHostName
30         e2eVpnKey: requestParameters.e2eVpnKey
31
32 policy_info:
33     placement:
34         policy_fetch: by_scope
35         policy_scope:
36             default_scope: OSDF_R2
37             scope_vcpe: OSDF_R2
38             service_name: placementInfo.serviceModelInfo.modelName
39         policy_subscriber: SubscriberPolicy
40         subscriber_name: placementInfo.subscriberInfo.subscriberName
41     default:  # if no explicit service related information is needed
42         policy_fetch: by_name
43         policy_scope: none