38,39 €
Leverage the best SDN technologies for your OpenStack-based cloud infrastructure
Administrators, and cloud operators who would like to implement Software Defined Networking on OpenStack clouds. Some prior experience of network infrastructure and networking concepts is assumed.
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.
A hands-on practical tutorial through use cases and examples for Software Defined Networking with OpenStack.
Sie lesen das E-Book in den Legimi-Apps auf:
Seitenzahl: 164
Veröffentlichungsjahr: 2016
Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2016
Production reference: 1211016
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78646-599-3
www.packtpub.com
Authors
Sriram Subramanian
Sreenivas Voruganti
Copy Editor
Safis Editing
Reviewer
Alberto Morgante Medina
Project Coordinator
Sheejal Shah
Commissioning Editor
Kartikey Pandey
Proofreader
Safis Editing
Acquisition Editor
Prachi Bisht
Indexer
Rekha Nair
Content Development Editor
Divij Kotian
Production Coordinator
Melwyn Dsa
Technical Editor
Shivani K. Mistry
Cover Work
Melwyn Dsa
Sriram Subramanian is an experienced professional with over 19 years' experience of building networking and network management products. Since 2011, Sriram has been working with Juniper Networks, leading engineering teams responsible for OpenStack Neutron plugins, VMware integration, and network management products. He is a technologist with a passion for virtualization and cloud networking. Sriram blogs regularly at http://www.innervoice.in/blogs and loves experimenting with new technologies and programming. He is the author of OpenStack Networking Cookbook, Packt.
I would like to dedicate this book to my family. I want to thank my wife, Kala, for her support during this entire project. Her "give your best" attitude motivates me to strive harder in managing my time and energy effectively. I also want to thank Appa and Amma for their patience and blessings. And a special thank you to my daughter Navya and our labrador Neige for the joie de vivre they bring to my life.
I extend a special thank you to my employer, Juniper Networks, and specifically my manager, Rakesh Manocha. The leadership team at Juniper has created an environment where individuals can pursue excellence through innovation. It has helped me expand my knowledge and capabilities beyond my imagination.
I would like to express my gratitude to my publishers, Packt and the reviewers, who provided invaluable feedback. Thanks to Divij Kotian, our editor, who played a crucial role keeping this book project on track. Finally, a big thank you to Sreeni for being a great co-author and partner on this exciting book journey.
Sreenivas Voruganti is presently driving IoT solutions at Aricent. He previously led engineering teams responsible for building networking, wireless LAN, and SDN products at Juniper Networks. He has contributed to building a range of IP and ATM-based Telco products at Lucent Technologies, Tellabs, and BHEL.
He is an avid student of emerging trends in networking and virtualization technologies and is passionate about integrating them to deliver solutions. His current interests include IoT, SDN, and NFV.
He is an inventor and has US Patent grants on networking, QoS, and wireless.
What started as an idea over coffee has come to form thanks to Sriram's drive and insightful ideas on book writing. Thanks, Sriram, for all the fun times working together.
I would like to dedicate this book to my parents for their blessings and wishes, to my wife, Nimmi, and sons, Aaditya and Arjun, for unstinting support through this endeavor.
Thanks to Alberto for valuable review comments, Divij Kotian, our editor, for fantastic support, Shivani for great job in editing the content, and our publishers Packt.
Finally, a big thank you to all the folks who contributed to the SDN open source implementations and friends who helped refine my understanding.
Alberto Morgante Medina is an engineer who's passionate about cloud computing. He loves new technologies, and he thinks that SecDevOps is the way to improve and apply them. He's always looking for new challenges. He has been working on OpenStack, several SDN solutions, information security, and other related IT areas since 2010. He is currently working at BBVA Bank as an innovation engineer. Before that, he worked at Telefónica as a cloud computing and security engineer.
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.
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.
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.
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.
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.
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 openvswitchNew 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."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
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.
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.
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.
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 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.
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.
Information technology (IT) applications are rapidly moving from dedicated infrastructure to a dynamic cloud-based infrastructure. This move to cloud started with server virtualization, where a hardware server ran as a virtual machine on a hypervisor. The adoption of cloud-based applications has accelerated due to factors such as globalization and outsourcing, where diverse teams need to collaborate in real time.
Server hardware connects to network switches using Ethernet and IP to establish network connectivity. However, as servers move from physical to virtual, the network boundary also moves from the physical network to the virtual network. Traditionally, applications, servers, and networking were tightly integrated. But modern enterprises and IT infrastructure demand flexibility in order to support complex applications.
The flexibility of cloud infrastructure requires networking to be dynamic and scalable. Software-Defined Networking (SDN) and Network Function Virtualization (NFV) play a critical role in data centers in order to deliver the flexibility and agility demanded by cloud-based applications. By providing practical management tools and abstractions that hide the underlying physical network's complexity, SDN allows operators to build complex networking capabilities on demand.
OpenStack is an open source cloud platform that helps build public and private cloud at scale. Within OpenStack, the name for the OpenStack Networking project is Neutron. The functionality of Neutron can be classified as core and service.
This chapter aims to provide a short introduction to OpenStack Networking. We will cover the following topics in this chapter:
