summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/PlacementOptimizationPolicy.json
blob: 7c434355cbaf8ef0e2fc85f9de47d4c4d290cc15 (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
{
    "service": "PlacementOptimizationPolicy",
    "policyName": "PlacementOptimizationPolicy",
    "description": "PlacementOptimizationPolicy",
    "templateVersion": "1702.03",
    "version": "1707",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "3",
    "guard": "False",
    "content": {
        "objectiveParameter": {
            "parameterAttributes": [
                {
                    "resource": ["vGMuxInfra"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "2",
                    "operator": "product"
                },
                {
                    "resource": ["vG"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "1",
                    "operator": "product"
                }
            ],
            "operator": "sum"
        },
        "identity": "optimization",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra","vG"]
        },
        "type": "placementOptimization",
        "objective": "minimize"
    }
}