From 853238d1b2e02ba573b5185ebb2c83c48e3b3333 Mon Sep 17 00:00:00 2001 From: Leonardo Bellini Date: Tue, 27 Mar 2018 05:42:06 -0500 Subject: complete test cases for M4 Issue-ID: OPTFRA-204 Change-Id: I0010ecae5f64fbe0b3c0be5cb9ebc52d9a426254 Signed-off-by: Leonardo Bellini --- ...plan_with_long_distance_constraint.json.service | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json.service (limited to 'test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json.service') diff --git a/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json.service b/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json.service new file mode 100644 index 000000000..b0d6478fc --- /dev/null +++ b/test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json.service @@ -0,0 +1,51 @@ +{ + "name":"onap template with long distance constraint", + "template":{ + "homing_template_version":"2017-10-10", + "parameters":{ + "service_name":"Residential vCPE", + "service_id":"vcpe_service_id", + "customer_lat":45.395968, + "customer_long":-71.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":"service", + "service_type": "VVIG", + "customer_id": "21014aa2-526b-11e6-beb8-9e71128cae77" + } + ] + }, + "constraints":{ + "distance-vg":{ + "type":"distance_to_location", + "demands":[ + "vG" + ], + "properties":{ + "distance":"> 100 km", + "location":"customer_loc" + } + } + }, + "optimization":{ + + } + } +} -- cgit 1.2.3-korg