integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-underlay.json
index eed2c32..ed6161b 100644 (file)
@@ -1,18 +1,17 @@
 {
-   "routes": [
-       {
-           "id": ${prop.route.id},
-           "vpnId": ${prop.vpnId},
-           "siteId": ${prop.route.siteId},
-           "deviceId": ${prop.route.deviceId},
-           "tnpId": ${prop.route.wanportId},
-           "priority": 60,
-           "destination": ${prop.route.providerIpAddress},
-           "nextHopType": "ip-address",
-           "ipAddress": ${prop.route.ipAddress},
-           "track": "false",
-           "target": null
-       }
-   ]
+    "routes": [
+        {
+            "id": ${prop.route.id},
+            "vpnId": ${prop.vpnId},
+            "siteId": ${prop.route.siteId},
+            "deviceId": ${prop.route.deviceId}, 
+            "destinationAddressMask": ${prop.route.providerIpAddress},                 
+            "priority": 60,            
+            "nextHopType": "ip-address",
+            "ipAddress": ${prop.route.ipAddress},
+            "track": false,
+            "target": null
+        }
+    ]
 }