SDWAN flow based end-end test and issue fix
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-port.json
index 61debbd..a140248 100644 (file)
 {
     "ports": [
         {
-            "portType": ${prop.portType},
-            "portNumber": ${prop.portNumber},
-            "deviceId": ${prop.deviceId},
-            "portSwitch": ${prop.portSwitch},
+            "portType": ${prop.wan.portType},
+            "portNumber": ${prop.wan.portNumber},
+            "deviceId": ${prop.wan.deviceId},
+            "portSwitch": "null",
             "linkInfo": {
                  "linkType": "Ethernet",
                  "cellular": "null",
                  "atm": "null",
                  "ethernet": {
-                      "negotiateMode": "auto"
+                      "negotiateMode": "auto",
+                      "media": "null",
+                      "duplex": "null",
+                      "speed" : "10"
                  }
             }
         }
     ]
-}
\ No newline at end of file
+}