update link to upper-constraints.txt
[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_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
17             - Capacity_vGMuxInfra.json
18             - Capacity_vG_1.json
19             - Distance_vGMuxInfra_1.json
20             - Distance_vG_1.json
21             - Placement_Optimization_1.json
22             - QueryPolicy_vCPE.json
23             - QueryPolicy_vCPE_2.json
24             - hpa_policy_vGMuxInfra_1.json
25             - hpa_policy_vG_1.json
26             - vnfPolicy_vG.json
27             - vnfPolicy_vGMuxInfra.json
28 service_info:
29     vCPE:
30         vcpeHostName: requestParameters.vcpeHostName
31         e2eVpnKey: requestParameters.e2eVpnKey
32
33 references:
34     service_name:
35         source: request
36         value: serviceInfo.serviceName
37     subscriber_role:
38         source: SubscriberPolicy
39         value: content.properties.subscriberRole
40
41 policy_info:
42     prioritization_attributes:
43         policy_type:
44             - content.policyType
45         resources:
46             - content.resources
47             - content.objectiveParameter.parameterAttributes.resources
48         service_name:
49             - content.serviceName
50     placement:
51         policy_fetch: by_scope
52         policy_scope:
53             default_scope: OSDF_R2
54             vcpe_scope: OSDF_R2
55             secondary_scopes:
56                 -
57                     - get_param: service_name
58                     - SubscriberPolicy
59                 -
60                     - get_param: service_name
61                     - get_param: subscriber_role
62     default:  # if no explicit service related information is needed
63         policy_fetch: by_name
64         policy_scope: none
65
66 PCI:
67     ML:
68         average_ho_threshold: 10000
69         latest_ho_threshold: 500
70     DES:
71         service_id: ho_metric
72         filter:
73             interval: 10
74     ml_enabled: false