Paths

Paths/forward

Sample request 

List forward path between the given dpids:

GET /sdn/v2.0/net/paths/forward?src_dpid="00:00:00:00:00:00:00:02"&dst_dpid="00:00:00:00:00:00:00:03"

List path between the given dpids that also matches the union of the given match fields:

GET /sdn/v2.0/net/paths/forward?src_dpid="00:00:00:00:00:00:00:02"&dst_dpid="

00:00:00:00:00:00:00:03"&vlan_id=4&ip_proto="udp"

NOTE: Match-field filtering has not been implemented yet! There is no request body for this API.


Sample response 

 {
   "path":{
      "cost":3,
      "links":[
         {
            "src_dpid":"00:00:00:00:00:00:00:02",
            "src_port":3,
            "dst_dpid":"00:00:00:00:00:00:00:03",
            "dst_port":5
         }
      ]
   }
}

Response codes 

  • Normal: OK (200)

  • Error: Bad Request (400), Unauthorized (401), Not Found (404), Service Unavailable (503)