aboutsummaryrefslogtreecommitdiffstats
path: root/test/functest/simulators/policy
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/functest/simulators/policy
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/functest/simulators/policy')
-rw-r--r--test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/Placement_Optimization_1.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/Placement_Optimization_1.json b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/Placement_Optimization_1.json
index b81b15f..ab3c586 100644
--- a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/Placement_Optimization_1.json
+++ b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/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"