aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Placement_Optimization_1.json
blob: ab3c5866238451b0d9db09c224e14037f3f96540 (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
{
    "service": "placementOptimization",
    "policyName": "OSDF_R2.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"
                }
            ],
            "operator": "sum"
        },
        "identity": "optimization",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG"],
        "policyType": "placementOptimization",
        "objective": "minimize"
    }
}