How Does OpenFlow Decide Which Path to Use? – SDN Routing Guide

openflowsdn

In current networks, OSPF ,RIP,etc determine the path taken by a packet. In SDN, the OpenFlow protocol sets the flow tables of the forwarding units. Can someone be very clear that how does OpenFlow decide which path to set for a flow?

Best Answer

Short version: it doesn't.

Longer version: Openflow is just a protocol for communicating between the 'forwarding units' and a controller. It is the controller itself that determines what to do with packets, and it can do this in any way it likes. You can implement most of the current routing protocols in an OpenFlow controller, see for instance RouteFlow.

So the OpenFlow protocol is not used to determine which paths to take, it is just a means of installing the flows in the flow tables. In this sense you can see it as analogous to SNMP and friends (although somewhat more powerful).

Related Topic