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 connected to virtual machines


Let's now move our attention to networking with virtual machines with OVS as the switch interconnecting the VMs. The following diagram depicts two VMs interconnected via an Open vSwitch virtual switch:

Figure 3: Open vSwitch network with VMs

We will start by creating an Open vSwitch bridge, add tap ports to it to hook VMs, and show how the VMs interconnect via OVS switch. The tap interfaces simulate a link layer operating with L2 packets such as Ethernet frames. These are virtual ports where virtual machines plug in.

  1. We will create an OVS bridge and bring it up in order to assign IP address.

  2. Next, we need to create and activate the tap interfaces:

  3. The add-port option of ovs-vsctl command is used to add the virtual ports to the Open vSwitch.

  4. Let us now check the status of these ports.

  5. We will now view the complete OVS bridge information.

  6. In order to create and configure virtual machines we will use CirrOS VM images. These images are very small and the...