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 and Mininet


Mininet is a tool that can emulate a realistic network on a single machine or VM with CLI support to interact with and API to customize, extend it. Mininet supports creating virtual hosts linking them to switch and hooking it up with a controller. It does all of this leveraging the same underlying components and techniques we used to in the previous example for network namespace-based virtual network. Refer to http://mininet.org/overview/.

You have two options to install the mininet tool:

  • Using the Ubuntu apt-get command:

    $ sudo apt-get install mininet
    
  • Install from the source code

    $ git clone git://github.com/mininet/mininet.git 
    $ util/install.sh -fnv
    

We recommend using the first option.

In this example, we will create a Mininet setup and check the actions it performs to the Open vSwitch to emulate network.

Let us create a Mininet network with a switch and a couple of hosts, connect it to controller, and check out the underlying actions it does to accomplish the virtual network...