summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Placement_Optimization_1.json
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-09-19 09:08:21 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-09-19 09:08:21 -0700
commita014bc832ce5e59b6dd52a6ac9dd5cea03a0ceec (patch)
treef1a26ca3ff440fdb8b0c8a7c0a34eae786178011 /test/policy-local-files/Placement_Optimization_1.json
parent530f19600fd9ee0f9eeab05473c85a83b61f50c3 (diff)
Add Optimization policy for hpa_score
Added policy for hpa_score optimization function for vCPE with weights. Change-Id: Ic6f3081510cbe94c519bcb7b2a7a99137bc29e12 Issue-ID: OPTFRA-313 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'test/policy-local-files/Placement_Optimization_1.json')
-rw-r--r--test/policy-local-files/Placement_Optimization_1.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/policy-local-files/Placement_Optimization_1.json b/test/policy-local-files/Placement_Optimization_1.json
index b81b15f..ab3c586 100644
--- a/test/policy-local-files/Placement_Optimization_1.json
+++ b/test/policy-local-files/Placement_Optimization_1.json
@@ -24,6 +24,12 @@
"parameter": "distance",
"weight": "1",
"operator": "product"
+ },
+ {
+ "resources": ["vG"],
+ "parameter": "hpa_score",
+ "weight": "200",
+ "operator": "product"
}
],
"operator": "sum"