Functest scripts, simulators, and payloads
[optf/osdf.git] / test / functest / simulators / simulated-config / common_config.yaml
1 osdf_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
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: True
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             - Placement_Optimization_1.json
21             - QueryPolicy_vCPE.json
22             - hpa_policy_vGMuxInfra_1.json
23             - hpa_policy_vG_1.json
24             - vnfPolicy_vG.json
25             - vnfPolicy_vGMuxInfra.json
26 service_info:
27     vCPE:
28         vcpeHostName: requestParameters.vcpeHostName
29         e2eVpnKey: requestParameters.e2eVpnKey
30
31 references:
32     service_name:
33         source: request
34         value: serviceInfo.serviceName
35     subscriber_role:
36         source: SubscriberPolicy
37         value: content.properties.subscriberRole
38
39 policy_info:
40     prioritization_attributes:
41         policy_type:
42             - content.policyType
43         resources:
44             - content.resources
45             - content.objectiveParameter.parameterAttributes.resources
46         service_name:
47             - content.serviceName
48
49     placement:
50         policy_fetch: by_scope
51         policy_scope:
52             default_scope: OSDF_R2
53             vcpe_scope: OSDF_R2
54             secondary_scopes:
55                 -
56                     - get_param: service_name
57                     - SubscriberPolicy
58                 -
59                     - get_param: service_name
60                     - get_param: subscriber_role
61     default:  # if no explicit service related information is needed
62         policy_fetch: by_name
63         policy_scope: none