summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/pwt-it-policies/Placement_Optimization_1.json
blob: 8701497109f16117350389f73713b9d3ccf626c0 (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
{
    "service": "optimizationPolicy",
    "policyName": "OSDF_CASABLANCA.Placement_Optimization_1",
    "description": "Placement Optimization Policy for vGMuxInfra",
    "templateVersion": "OpenSource.version.1",
    "version": "test1",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "3",
    "guard": "False",
    "content": {
        "objectiveParameter": {
            "parameterAttributes": [
                {
                    "resources": ["vGMuxInfra"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "1",
                    "operator": "product"
                },
                {
                    "resources": ["vG"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "1",
                    "operator": "product"
                },
                {
                    "resources": ["vG"],
                    "parameter": "hpa_score",
                    "weight": "200",
                    "operator": "product"
                },
                {
                    "resources": ["vFW", "7400fd06C75f4a44A68f"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "100",
                    "operator": "product"
                },
                {
                    "resources": ["vFW", "7400fd06C75f4a44A68f"],
                    "parameter": "hpa_score",
                    "weight": "200",
                    "operator": "product"
                }
            ],
            "operator": "sum"
        },
        "identity": "optimization",
        "policyScope": ["vcpe", "us", "international", "ip", "vGMuxInfra", "vG", "vfw"],
        "policyType": "placement_optimization",
        "objective": "minimize"
    }
}