aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json
diff options
context:
space:
mode:
authorZhuoyao Huang <10112215@zte.com.cn>2019-04-10 22:11:59 +0800
committerZhuoyao Huang <10112215@zte.com.cn>2019-04-10 22:13:55 +0800
commit7e01da537f44b15b2ae39ed5d9a71d467ec097db (patch)
tree3df34e3a40e3b77e9375a98ce319d3d2c17ffbdc /platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json
parent9e1fedca46f1df1059a2b7bb927d94b911f27c68 (diff)
zte 3rd party controller for sdwan
creating a placeholder for specific templates & DG nodes required to talk to ZTE as 3rd party domain controller. Issue-ID: SDNC-657 Change-Id: Icb774966cd9f4cd15e1beebb2dfb5194f241e4bc Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn> Former-commit-id: 22f440deb271000c1accc7abe679335e3e1916b0
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json
new file mode 100644
index 00000000..1e50e76f
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.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---------------"
+ }
+ ]
+}
+
+