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