SDN Controllers (Ryu and ODL)

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 https://github.com / 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 : // nexus.opendaylight.org/content/repositories/
opendaylight.release/org/opendaylight/integration/
opendaylight/0.12.1/
opendaylight-0.12.1.zip
              $unzip opendaylight
              - 0.12.1.zip $yum install java
              - 11 $export JAVA_HOME
    = / usr / lib / jvm / jre - 11 $cd / root / 
            opendaylight - 0.12.1 $./ bin / karaf

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


2


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.