aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json
diff options
context:
space:
mode:
authorshashikanth.vh <shashikanth.vh@huawei.com>2018-09-07 14:38:22 +0530
committershashikanth.vh <shashikanth.vh@huawei.com>2018-09-07 17:24:17 +0530
commit55b429cfc73802e3e52fa2f3864ecc4cdd552728 (patch)
tree5eee99f5b0b7e039ea0250d5549ca25aae74fd04 /platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json
parentdb323d0fa39eabc03faf8c803876da5f87079e58 (diff)
integration test issues fix for sdwan and sotn
Change-Id: I406550404f0cfb661d6e480cf1df48d39fad06e7 Issue-ID: SDNC-357 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 3e4fa46160a5d6d52bb7eccf08dbb790d96a4682
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json
new file mode 100644
index 00000000..1e50e76f
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-spoke.json
@@ -0,0 +1,34 @@
+{
+ "sites": [
+ {
+ "id": "",
+ "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": [${repeat:prop.site.controlpoints_length:
+ ${prop.site.controlpoints[${1}]},
+ }
+ ],
+ "description": "--------role:dsvpn-hub---------------"
+ }
+ ]
+}
+
+