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

Preface

OpenStack is rapidly becoming the prominent open source platform for building public and private clouds. OpenStack-based clouds are built on three important pillars, namely, compute, storage, and networking. The strength of these pillars determines the robustness, scale, and performance of your OpenStack cloud.

The classic networking landscape is changing, with SDN approach to building networks becoming mainstream, backed by superior economics and the fact that it is a platform for innovation. We believe that the SDN application space will only grow bigger, with innovative applications that are currently in their infancy and it is essentially replacing the conventional network application with the SDN approach.

With both OpenStack and SDN poised for rapid adoption, it is important to understand the key technologies at their intersection. The intent of the book is to provide an overview of the key SDN technologies and their relevance with respect to OpenStack, in a simple and easy to understand format to encourage the reader to dig into the details for deeper insights.

What this book covers

Chapter 1, OpenStack Networking in a Nutshell, provides an overview of OpenStack Networking using Neutron. After introducing core networking constructs such as network, subnet, and port, the chapter will highlight different networking services within OpenStack such as routing, firewall, and VPN.

Chapter 2, Introduction to Software-Defined Networking, introduces the readers to the concepts related to software-defined network. We will look at the challenges in traditional networking, especially in the rapidly evolving cloud infrastructure use case. We introduce different SDN's concepts by highlighting the advantages of traditional networking.

Chapter 3, SDN Protocols, delves into the underlying components and protocols that enable the SDN-based architecture. We will introduce Open vSwitch (OVS), a popular virtual switch in SDN and OpenStack environments and help you gain insights into SDN building blocks.

Chapter 4, SDN Networking with Open vSwitch, begins with lightweight virtual networking with a Linux network namespace and Open vSwitch functioning as a conventional L2 switch. We will then bring OpenFlow into the mix to depict flow-based networking with virtual machines, interfacing with SDN controller. We will introduce Mininet, a network emulation tool for prototyping network topologies. Finally, we will depict the architecture of Neutron, the networking component of OpenStack.

Chapter 5, Getting Started with OpenDaylight, will help the user get started with OpenDaylight (ODL) as an SDN technology. From an architectural overview of installation and configuration, the goal of this chapter is to give the readers a high-level overview of ODL.

Chapter 6, Using OpenDaylight with OpenStack, will cover ODL-based network service provisioning in OpenStack. Starting with simple multi-tenant virtual networks, the chapter will move on to advanced services such as load balancers and service chaining using ODL. We will also show high-level APIs and the programmability of ODL.

Chapter 7, Getting Started with OpenContrail, helps the user get started with OpenContrail as an SDN technology. From an architectural overview of installation and configuration, the goal of this chapter is to give the audience a high-level overview of OpenContrail.

Chapter 8, OpenContrail Networking with OpenStack, explains OpenStack and OpenContrail integration. Starting with simple multi-tenant overlay networks, the chapter will move on to advanced services, such as security and service chaining using OpenContrail.

Chapter 9, Open Network Operating System (ONOS), starts with an introduction to ONOS its architecture, and then explores ONOS integration with Open vSwitch (OVS). We will conclude the chapter with a quick introduction to using ONOS in an OpenStack environment.

Chapter 10, OVN and Open vSwitch Enhancements, outlines the limitations in the classic Neutron architecture and covers solutions such as OVN, Distributed Virtual Router (DVR), Dragonflow, and Open vSwitch Data Path Development Kit (OVS-DPDK). The chapter covers how OVN integrates with OpenStack and the mapping of their object model.

What you need for this book

While SDN is being driven by solutions both from vibrant open source community and from networking vendors we focused on leveraging the open source software with a hands-on approach to gaining technology and implementation insights. You will need computers or servers running on a Intel x86 processor with VT extensions, at least 4 GB RAM and 100 GB HDD. Each computer will require at least three network interfaces.

Considering the rapid updates to technology and implementation we strongly recommend following the relevant links supplied for topics for further reading.

Who this book is for

The target audience for this book is system and network administrators, IT data center managers, cloud infrastructure providers, and users of private and public clouds. It will also be a good introduction for networking enthusiasts.

The readers are assumed to have a very basic knowledge of OpenStack, networking, and Linux. Armed with the basic knowledge, this book will help the readers get an overview of popular SDN technologies and how these are used in an OpenStack-based cloud infrastructure.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The neutron firewall-create command supports an option to pick a specific router as well."

Any command-line input or output is written as follows:

$ sudo apt-get install openvswitch

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In the left navigation bar, click on the Nodes."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail [email protected], and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the color images of this book 

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/SoftwareDefinedNetworkingwithOpenStack_ColorImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at [email protected], and we will do our best to address the problem.