aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Placement_Optimization_1.json
blob: 8632b6bbf8f76466b1e25f7796c5c0586c678157 (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"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "100",
                    "operator": "product"
                },
                {
                    "resources": ["vFW"],
                    "parameter": "hpa_score",
                    "weight": "200",
                    "operator": "product"
                }
            ],
            "operator": "sum"
        },
        "identity": "optimization",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG"],
        "policyType": "placement_optimization",
        "objective": "minimize"
    }
}