Book Image

Software-Defined Networking (SDN) with OpenStack

By : Sreenivas Voruganti, Sriram Subramanian
Book Image

Software-Defined Networking (SDN) with OpenStack

By: Sreenivas Voruganti, Sriram Subramanian

Overview of this book

Networking is one the pillars of OpenStack and OpenStack Networking are designed to support programmability and Software-Defined Networks. OpenStack Networking has been evolving from simple APIs and functionality in Quantum to more complex capabilities in Neutron. Armed with the basic knowledge, this book will help the readers to explore popular SDN technologies, namely, OpenDaylight (ODL), OpenContrail, Open Network Operating System (ONOS) and Open Virtual Network (OVN). The first couple of chapters will provide an overview of OpenStack Networking and SDN in general. Thereafter a set of chapters are devoted to OpenDaylight (ODL), OpenContrail and their integration with OpenStack Networking. The book then introduces you to Open Network Operating System (ONOS) which is fast becoming a carrier grade SDN platform. We will conclude the book with overview of upcoming SDN projects within OpenStack namely OVN and Dragonflow. By the end of the book, the readers will be familiar with SDN technologies and know how they can be leveraged in an OpenStack based cloud.
Table of Contents (16 chapters)
Software-Defined Networking (SDN) with OpenStack
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

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.

  1. The first step is to set the controller to the OVS bridge...