summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/has_policies_r2/Placement_Optimization_1.json
diff options
context:
space:
mode:
authorSastry Isukapalli <sastry@research.att.com>2018-03-26 18:06:23 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-26 18:06:23 +0000
commit215b19360f73242f2348c812c0afab7d77c083a8 (patch)
tree7673df4f4d235e02dc0f565d72a8726a5175065f /test/policy-local-files/has_policies_r2/Placement_Optimization_1.json
parent1989be6667eeb3b70e959c688c6b423b30dde78a (diff)
parentdcdf9d8f98b6f472b37a264d93ede2845e39853c (diff)
Merge "Inserted policy tosca models and examples"
Diffstat (limited to 'test/policy-local-files/has_policies_r2/Placement_Optimization_1.json')
-rw-r--r--test/policy-local-files/has_policies_r2/Placement_Optimization_1.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/policy-local-files/has_policies_r2/Placement_Optimization_1.json b/test/policy-local-files/has_policies_r2/Placement_Optimization_1.json
new file mode 100644
index 0000000..f8b0a6f
--- /dev/null
+++ b/test/policy-local-files/has_policies_r2/Placement_Optimization_1.json
@@ -0,0 +1,36 @@
+{
+ "service": "PlacementOptimizationPolicy",
+ "policyName": "oofBeijing.PlacementOptimizationPolicy_vGMuxInfra",
+ "description": "Placement Optimization Policy for vGMuxInfra",
+ "templateVersion": "1702.03",
+ "version": "oofBeijing",
+ "priority": "5",
+ "riskType": "test",
+ "riskLevel": "3",
+ "guard": "False",
+ "content": {
+ "objectiveParameter": {
+ "parameterAttributes": [
+ {
+ "resource": ["vGMuxInfra"],
+ "customerLocationInfo": "customer_loc",
+ "parameter": "distance",
+ "weight": "1",
+ "operator": "product"
+ },
+ {
+ "resource": ["vG"],
+ "customerLocationInfo": "customer_loc",
+ "parameter": "distance",
+ "weight": "1",
+ "operator": "product"
+ }
+ ],
+ "operator": "sum"
+ },
+ "identity": "optimization",
+ "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG", "placementOptimization"],
+ "policyType": "placementOptimization",
+ "objective": "minimize"
+ }
+}