From 55b429cfc73802e3e52fa2f3864ecc4cdd552728 Mon Sep 17 00:00:00 2001 From: "shashikanth.vh" Date: Fri, 7 Sep 2018 14:38:22 +0530 Subject: integration test issues fix for sdwan and sotn Change-Id: I406550404f0cfb661d6e480cf1df48d39fad06e7 Issue-ID: SDNC-357 Signed-off-by: shashikanth.vh Former-commit-id: 3e4fa46160a5d6d52bb7eccf08dbb790d96a4682 --- .../src/main/json/sdwan-site-hub.json | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json') diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json new file mode 100644 index 00000000..1dcedd9b --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json @@ -0,0 +1,30 @@ +{ + "sites": [ + { + "name": ${prop.site.name}, + "locations": [ + { + "name": ${prop.site.location-name}, + "address": ${prop.site.location-address}, + "postcode": ${prop.site.location-postcode} + } + ], + "devices": [${repeat:prop.site.deviceId_length: + { + "deviceId": ${prop.site.deviceId[${1}]}, + "locationName": ${prop.site.location-name}, + }, + } + ], + "siteType": ${prop.site.type}, + "role": [${repeat:prop.site.roles_length: + ${prop.site.roles[${1}]}, + } + ], + "controlPoints": [], + "description": "--------role:dsvpn-hub---------------" + } + ] +} + + -- cgit 1.2.3-korg