summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json
new file mode 100644
index 00000000..55e603ec
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json
@@ -0,0 +1,45 @@
+{
+ "tnps": [
+ {
+ "name": ${prop.wan.name},
+ "siteId": ${prop.wan.siteId},
+ "deviceId": ${prop.wan.deviceId},
+ "portId": ${prop.wan.devicePortId},
+ "inSubInterface": false,
+ "vlanId": "null",
+ "ipConnection": {
+ "ipv4": {
+ "publicIP": ${prop.wan.ip-address},
+ "accessType": "IPoE",
+ "ipMode": "Static",
+ "customerAddress": ${prop.wan.ip-address},
+ "prefixLength": ${prop.wan.prefixLength},
+ "providerAddress": ${prop.wan.providerIpAddress},
+ "peerIp": "null",
+ "userName": "null",
+ "userKey": "null"
+ }
+ },
+ "transportNetworkInfo": {
+ "transportNetworkId": ${prop.wan.transportNetworkId},
+ "workMode": "active"
+ },
+ "attributes": {
+ "inputBandwidth": ${prop.wan.inputBandwidth},
+ "outputBandwidth": ${prop.wan.outputBandwidth},
+ "mtu": 1500,
+ "TCPmss": 1200
+ },
+ "ntp": [
+ {
+ "serverIP": "11.11.11.11",
+ "authentication": false,
+ "mode": "MD5",
+ "authKey": "123456",
+ "authId": 123
+ }
+ ],
+ "description": ${prop.wan.description}
+ }
+ ]
+}