aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json30
1 files changed, 30 insertions, 0 deletions
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---------------"
+ }
+ ]
+}
+
+