aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json
diff options
context:
space:
mode:
authorLeonardo Bellini <leonardo.bellini@att.com>2018-03-27 11:52:58 -0500
committerLeonardo Bellini <leonardo.bellini@att.com>2018-03-27 11:53:17 -0500
commitd776cf56f04032fa42727ad94b6712e52022fb8d (patch)
tree86b2a057789f00068ca5ca9bff0b0f9ed27527d9 /test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json
parentd984f526a6708622301cd7fa7cea1ef953b8108a (diff)
Complete optf-has csit for M4
Issue-ID: OPTFRA-204 Change-Id: I09afb088c343699be78d2195638596ac09a0c875 Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
Diffstat (limited to 'test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json')
-rw-r--r--test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json21
1 files changed, 18 insertions, 3 deletions
diff --git a/test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json b/test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json
index 85a1a7387..68a7e119b 100644
--- a/test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json
+++ b/test/csit/tests/optf-has/has/data/plan_with_short_distance_constraint.json
@@ -5,8 +5,8 @@
"parameters":{
"service_name":"Residential vCPE",
"service_id":"vcpe_service_id",
- "customer_lat":45.395968,
- "customer_long":-71.135344,
+ "customer_lat":25.395968,
+ "customer_long":-51.135344,
"physical_location":"DLLSTX233",
"REQUIRED_MEM":4,
"REQUIRED_DISK":100,
@@ -43,7 +43,22 @@
}
},
"optimization":{
-
+ "minimize": {
+ "sum": [
+ {
+ "distance_between": [
+ "customer_loc",
+ "vG"
+ ]
+ },
+ {
+ "distance_between": [
+ "customer_loc",
+ "vG"
+ ]
+ }
+ ]
+ }
}
}
}