ce9d4f2b17887afc52ccdf7cd811ee33c425e429
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-wan-port-static.json
1 {
2     "tnps": [
3         {
4             "name": ${prop.wan.name},
5             "siteId": ${prop.wan.siteId},
6             "deviceId": ${prop.wan.deviceId},
7             "portId": ${prop.wan.devicePortId},
8             "inSubInterface": false,
9             "vlanId": "null",            
10             "ipConnection": {
11                 "ipv4": {
12                     "publicIP": ${prop.wan.ip-address},
13                     "accessType": "IPoE",
14                     "ipMode": "Static",
15                     "customerAddress": ${prop.wan.ip-address},
16                     "prefixLength": ${prop.wan.prefixLength},
17                     "providerAddress": ${prop.wan.providerIpAddress},
18                     "peerIp": null,
19                     "userName": null,
20                     "userKey": null
21                 }
22              },
23              "transportNetworkInfo": {
24                  "transportNetworkId": ${prop.wan.transportNetworkId},
25                  "workMode": "active"
26              },
27             "attributes": {
28                 "inputBandwidth": ${prop.wan.inputBandwidth},
29                 "outputBandwidth": ${prop.wan.outputBandwidth},
30                 "mtu": 1500,
31                 "TCPmss": 1200
32             },
33                         "ntp": [
34               {
35                 "serverIP": "11.11.11.11",
36                 "authentication": false,
37                 "mode": "MD5",
38                 "authKey": "123456",
39                 "authId": 123
40               }
41             ],
42             "description": ${prop.wan.description}
43         }
44     ]
45 }