e3c459398e555f6f44d5a3fe91dcb59affc93c26
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-wan-port.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             "inSubInterfaces": "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             "description": ${prop.wan.description}
34         }
35     ]
36 }