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

OVN and OpenStack


Let us now turn our attention to the integration of OVN with OpenStack. The main element of this integration is the mapping of OpenStack Neutron objects to that of OVN. We will use DevStack to demonstrate different OpenStack operations and then show the corresponding OVN entities.

Running OVN using DevStack

We will now show you how to install and use OVN using DevStack. OVN has been extensively tested on Ubuntu 14.04 so we recommend that as the version to try with these steps:

  1. The first step is to check out DevStack and OVN from GitHub.

  2. Copy the sample local.conf from OVN to DevStack. If you view the local.conf file you will notice that the Neutron L2 agent (q-agt) is disabled. This is because OVN does not rely on the Neutron L2 Agent. It directly programs Open vSwitch using OpenFlow and OVSDB.

  3. Run the stack.sh command from DevStack to set up your DevStack environment.

            ./stack.sh
    
  4. Once DevStack runs successfully, we will open the contents of the Neutron ML2 configuration...