diff options
author | 2018-03-27 05:42:06 -0500 | |
---|---|---|
committer | 2018-03-27 05:46:02 -0500 | |
commit | 853238d1b2e02ba573b5185ebb2c83c48e3b3333 (patch) | |
tree | 3c86fbb1db87c8999a13b07cfee753e2a47c2bc6 /test/csit/tests/optf-has/has/data/plan_with_long_distance_constraint.json | |
parent | 28db3d66f98afb2376e6d51d78b379811b9187ec (diff) |
complete test cases for M4
Issue-ID: OPTFRA-204
Change-Id: I0010ecae5f64fbe0b3c0be5cb9ebc52d9a426254
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
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.json | 49 |
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":{ + + } + } +} |