Fix SDNC parameters save in AAI failure
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-wan-port-static.json
index 9825b6e..fff33cc 100644 (file)
@@ -1,6 +1,7 @@
 {
     "tnps": [
         {
+            "id": ${prop.wan.wanPortId},
             "name": ${prop.wan.name},
             "siteId": ${prop.wan.siteId},
             "deviceId": ${prop.wan.deviceId},
@@ -9,7 +10,7 @@
             "vlanId": "null",            
             "ipConnection": {
                 "ipv4": {
-                    "publicIP": null,
+                    "publicIP": ${prop.wan.ip-address},
                     "accessType": "IPoE",
                     "ipMode": "Static",
                     "customerAddress": ${prop.wan.ip-address},
                     "userKey": null
                 }
              },
-             "transportNetworkInfo": {
-                 "transportNetworkId": ${prop.wan.transportNetworkId},
-                 "workMode": "active"
-             },
             "attributes": {
                 "inputBandwidth": ${prop.wan.inputBandwidth},
                 "outputBandwidth": ${prop.wan.outputBandwidth},
@@ -43,3 +40,4 @@
         }
     ]
 }
+