SDN Controllers (Ryu and ODL) - GeeksforGeeks

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:
Infrastructure LayerControl LayerApplication Layer
Infrastructure Layer
Control Layer
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:
RyuOpenDay LightRyu Controller
Ryu
OpenDay Light
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

Computer Networks
Computer Networks
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Advanced Encryption Standard (AES)
Introduction and IPv4 Datagram Header
Intrusion Detection System (IDS)
Secure Socket Layer (SSL)
Cryptography and its Types
Multiple Access Protocols in Computer Network
Routing Information Protocol (RIP)
Wireless Sensor Network (WSN)
Congestion Control in Computer Networks
Architecture of Internet of Things (IoT)