Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

SDN Controllers (Ryu and ODL)

  • Last Updated : 23 Oct, 2020

Before we move deeper with the SDN Controllers, let us understand what is SDN and SDN Controller.

Software-Defined Networks (SDN) :
It is one of the biggest and on-going platforms in the area of Networks which makes the network flexible and agile. SDN overcomes all the demerits of Traditional Networks. The main aim of the SDN is to control the network with the help of controllers. SDN is the future of Networking. As there is a rise in the storage and servers, the SDN introduces a new concept called “Network Function Virtualization (NFV)“.

SDN architecture forms three major layers namely as:

  1. Infrastructure Layer
  2. Control Layer
  3. Application Layer

Let’s discuss one by one.
Infrastructure Layer :
Infrastructure Layer consists of Networking Devices like Switches, Routers and it is also called a Data Plane.

Control Layer :
Control Layer consists of Controllers which controls the in and outflow of the data packets with the help of a controller. Let us understand the different controllers in detail.

Application Layer :
Application Layer consists of networking applications like monitoring, traffic control, network analysis, and security.

SDN Controllers :
As discussed in the previous section, controllers are present in the mid-layer. They are numerous SDN Controllers, namely as:

  1. Ryu
  2. OpenDay Light
  3. Ryu Controller

It is one of the SDN controller specially designed for the agility of the network and for managing the higher traffic rate. Ryu includes well-defined software components along with API. Ryu makes the developers develop a new application and manage various other networking devices. Ryu controller is written in Python.

Quick start with the Ryu Controller. Run all the below commands in your Ubuntu system or in the VMWare Workstation which is pre-installed with the SDN OVA file.

// Python 
pip install ryu

To Install the Ryu from the git repository follow the following commands as follows.

git clone / faucetsdn / ryu.git
cd ryu; pip install

OpenDay Light (ODL) Controller :
ODL is one of the most versatile and largest open-source controllers. It is helpful for automating larger area networks and it is scalable. ODL is written in Java. Compared to all other SDN Controllers, this controller is the best out of all and it is well-known for its security.

Below are the commands to install the controller and run it.

// For Java
$wget https : //
              $unzip opendaylight
              - $yum install java
              - 11 $export JAVA_HOME
    = / usr / lib / jvm / jre - 11 $cd / root / 
            opendaylight - 0.12.1 $./ bin / karaf

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!