OVS networking with SDN controller
Now let us bring the OpenFlow controller to the configuration to manage the OVS. We will use a controller implemented on Ryu (pronounced ree-yooh), a component-based software-defined networking framework. Ryu provides software components with well-defined northbound Python APIs and it supports OpenFlow protocol towards southbound. Refer to http://osrg.github.io/ryu/.
Figure 2: Ryu SDN framework
We will continue the example from the previous section, where we had two namespaces and two hosts. Let us first install the ryu
SDN controller framework:
- Install directly using the
pip
command.$ sudo pip install ryu
- You can also install
ryu
from the source code.$ git clone git://github.com/osrg/ryu.git $ cd ryu; python ./setup.py install
In this example, we will add Open Flow controller and verify OVS Open Flow table updates. Ryu is running locally, hence we set the OVS controller to the local IP address.
- The first step is to set the controller to the OVS...