aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json')
-rw-r--r--test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json b/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json
new file mode 100644
index 000000000..3e6d26791
--- /dev/null
+++ b/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json
@@ -0,0 +1,49 @@
+{
+ "name":"onap template with short distance constraint",
+ "template":{
+ "homing_template_version":"2017-10-10",
+ "parameters":{
+ "service_name":"Residential vCPE",
+ "service_id":"vcpe_service_id",
+ "customer_lat":25.395968,
+ "customer_long":-51.135344,
+ "physical_location":"DLLSTX233",
+ "REQUIRED_MEM":4,
+ "REQUIRED_DISK":100,
+ "pnf_id":"some_pnf_id"
+ },
+ "locations":{
+ "customer_loc":{
+ "latitude":{
+ "get_param":"customer_lat"
+ },
+ "longitude":{
+ "get_param":"customer_long"
+ }
+ }
+ },
+ "demands":{
+ "vG":[
+ {
+ "inventory_provider":"aai",
+ "inventory_type":"cloud"
+ }
+ ]
+ },
+ "constraints":{
+ "distance-vg":{
+ "type":"distance_to_location",
+ "demands":[
+ "vG"
+ ],
+ "properties":{
+ "distance":"< 1 km",
+ "location":"customer_loc"
+ }
+ }
+ },
+ "optimization":{
+
+ }
+ }
+}