6a5f5e1c24dcfe54cbc807ab05195e2e8767b45b
[optf/osdf.git] / test / config / common_config.yaml
1 osdf_system:
2     libpath: /opt/app/osdf/libs
3     osdf_ports:
4         internal: 24699  # inside the Docker container, the app listens to this port
5         external: 14699  # 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: ['./../etc/sniromanager.crt', './../etc/sniromanager.key']
9
10 osdf_temp:  # special configuration required for "workarounds" or testing
11     local_policies:
12         global_disabled: False
13         local_placement_policies_enabled: True
14         placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components)
15             - Affinity_vCPE_1.json
16             - Capacity_vGMuxInfra.json
17             - Capacity_vG_1.json
18             - Distance_vGMuxInfra_1.json
19             - Distance_vG_1.json
20             - Min_Guarantee_vGMuxInfra_1.json
21             - Placement_Optimization_1.json
22             - QueryPolicy_vCPE.json
23             - hpa_policy_vGMuxInfra_1.json
24             - hpa_policy_vG_1.json
25             - vnfPolicy_vG.json
26             - vnfPolicy_vGMuxInfra.json
27 service_info:
28     vCPE:
29         vcpeHostName: requestParameters.vcpeHostName
30         e2eVpnKey: requestParameters.e2eVpnKey
31
32 references:
33     service_name:
34         source: request
35         value: serviceInfo.serviceName
36     subscriber_role:
37         source: SubscriberPolicy
38         value: content.properties.subscriberRole
39
40 policy_info:
41     placement:
42         policy_fetch: by_scope
43         policy_scope:
44             default_scope: OSDF_R2
45             vcpe_scope: OSDF_R2
46             secondary_scopes:
47                 -
48                     - get_param: service_name
49                     - SubscriberPolicy
50                 -
51                     - get_param: service_name
52                     - get_param: subscriber_role
53     default:  # if no explicit service related information is needed
54         policy_fetch: by_name
55         policy_scope: none