summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/PlacementOptimizationPolicy.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/policy-local-files/PlacementOptimizationPolicy.json')
-rw-r--r--test/policy-local-files/PlacementOptimizationPolicy.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/policy-local-files/PlacementOptimizationPolicy.json b/test/policy-local-files/PlacementOptimizationPolicy.json
new file mode 100644
index 0000000..7c43435
--- /dev/null
+++ b/test/policy-local-files/PlacementOptimizationPolicy.json
@@ -0,0 +1,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"
+ }
+}