summaryrefslogtreecommitdiffstats
path: root/test/config/common_config.yaml
blob: 560d707b484bba5eeae039e1d81a1b32db1c1a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
osdf_system:
    libpath: /opt/app/osdf/libs
    osdf_ports:
        internal: 24699  # inside the Docker container, the app listens to this port
        external: 14699  # clients use this port on DockerHost
    osdf_ip_default: 0.0.0.0
#        # Important Note: At deployment time, we need to ensure the port mapping is done
#    ssl_context: ['./../etc/sniromanager.crt', './../etc/sniromanager.key']

osdf_temp:  # special configuration required for "workarounds" or testing
    local_policies:
        global_disabled: False
        local_placement_policies_enabled: True
        placement_policy_dir_vcpe: "../test/policy-local-files/"
        placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components)
            - Affinity_vCPE_1.json
            - Capacity_vGMuxInfra.json
            - Capacity_vG_1.json
            - Distance_vGMuxInfra_1.json
            - Distance_vG_1.json
            - Placement_Optimization_1.json
            - QueryPolicy_vCPE.json
            - QueryPolicy_vCPE_2.json
            - hpa_policy_vGMuxInfra_1.json
            - hpa_policy_vG_1.json
            - vnfPolicy_vG.json
            - vnfPolicy_vGMuxInfra.json
service_info:
    vCPE:
        vcpeHostName: requestParameters.vcpeHostName
        e2eVpnKey: requestParameters.e2eVpnKey

references:
    service_name:
        source: request
        value: serviceInfo.serviceName
    subscriber_role:
        source: SubscriberPolicy
        value: content.properties.subscriberRole

policy_info:
    prioritization_attributes:
        policy_type:
            - content.policyType
        resources:
            - content.resources
            - content.objectiveParameter.parameterAttributes.resources
        service_name:
            - content.serviceName
    placement:
        policy_fetch: by_scope
        policy_scope:
            default_scope: OSDF_R2
            vcpe_scope: OSDF_R2
            secondary_scopes:
                -
                    - get_param: service_name
                    - SubscriberPolicy
                -
                    - get_param: service_name
                    - get_param: subscriber_role
    default:  # if no explicit service related information is needed
        policy_fetch: by_name
        policy_scope: none

PCI:
    ML:
        average_ho_threshold: 10000
        latest_ho_threshold: 500
    DES:
        service_id: ho_metric
        filter:
            interval: 10
    ml_enabled: false