aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/velocity
AgeCommit message (Expand)AuthorFilesLines
#n19'>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_DUBLIN.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"
    }
}