Software-Defined Networking (SDN) with OpenStack
()
About this ebook
Related to Software-Defined Networking (SDN) with OpenStack
Related ebooks
Learning RHEL Networking Rating: 0 out of 5 stars0 ratingsSoftware Defined Networks: A Comprehensive Approach Rating: 0 out of 5 stars0 ratingsSoftware-Defined Networks: A Systems Approach Rating: 5 out of 5 stars5/5Learning OpenDaylight Rating: 0 out of 5 stars0 ratingsLearning OpenStack Networking (Neutron) Rating: 5 out of 5 stars5/5VMware NSX Network Essentials Rating: 0 out of 5 stars0 ratingsCisco ACI Cookbook Rating: 3 out of 5 stars3/5Nmap Essentials Rating: 4 out of 5 stars4/5Zabbix Network Monitoring Essentials Rating: 0 out of 5 stars0 ratingsDevOps for Networking Rating: 0 out of 5 stars0 ratingsSoftware Defined Networking (SDN) - a definitive guide Rating: 2 out of 5 stars2/5Nginx Essentials Rating: 0 out of 5 stars0 ratingsMastering Zabbix - Second Edition Rating: 0 out of 5 stars0 ratingsGNS3 Network Simulation Guide Rating: 0 out of 5 stars0 ratingsOpenStack Essentials Rating: 0 out of 5 stars0 ratingsMastering Python Networking Rating: 5 out of 5 stars5/5Learning Nagios 4 Rating: 5 out of 5 stars5/5OpenStack Essentials - Second Edition Rating: 0 out of 5 stars0 ratingsLearning Ansible 2 - Second Edition Rating: 5 out of 5 stars5/5OpenStack Orchestration Rating: 5 out of 5 stars5/5CentOS High Performance Rating: 0 out of 5 stars0 ratingsImplementing Cisco UCS Solutions - Second Edition Rating: 0 out of 5 stars0 ratingsNative Docker Clustering with Swarm Rating: 0 out of 5 stars0 ratingsMastering Ubuntu Server Rating: 5 out of 5 stars5/5OpenStack for Architects Rating: 0 out of 5 stars0 ratingsMastering Linux Network Administration Rating: 4 out of 5 stars4/5Ubuntu Server Essentials Rating: 0 out of 5 stars0 ratingsOpenStack Networking Essentials Rating: 0 out of 5 stars0 ratingsMastering Ceph Rating: 0 out of 5 stars0 ratings
System Administration For You
Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsLinux for Beginners: Linux Command Line, Linux Programming and Linux Operating System Rating: 4 out of 5 stars4/5CompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Building a Plex Server with Raspberry Pi Rating: 0 out of 5 stars0 ratingsNetworking for System Administrators: IT Mastery, #5 Rating: 5 out of 5 stars5/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsWork with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5PowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5Bash Command Line Pro Tips Rating: 5 out of 5 stars5/5Git Essentials Rating: 4 out of 5 stars4/5Practical Data Analysis Rating: 4 out of 5 stars4/5Linux Bible Rating: 0 out of 5 stars0 ratingsThe Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsImprove your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsLearn Git in a Month of Lunches Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsWordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsLinux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingse-Discovery For Dummies Rating: 0 out of 5 stars0 ratingsMastering ServiceNow - Second Edition Rating: 3 out of 5 stars3/5Mastering Linux Shell Scripting Rating: 4 out of 5 stars4/5
Reviews for Software-Defined Networking (SDN) with OpenStack
0 ratings0 reviews
Book preview
Software-Defined Networking (SDN) with OpenStack - Sreenivas Voruganti
Table of Contents
Software-Defined Networking (SDN) with OpenStack
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. OpenStack Networking in a Nutshell
Virtual and physical networking
Tenant isolation
Layer 2 (L2) capabilities in OpenStack
Creating a network using OpenStack CLI
Creating a subnet using OpenStack CLI
Associating a network and subnet to a virtual machine
Layer 3 (L3) capabilities in OpenStack
Creating a router using OpenStack CLI
Associating a subnetwork to a Router
Securing network traffic in OpenStack
Using security groups to secure traffic within a network
Using firewall service to secure traffic
Advanced networking services
Load Balancing as a Service (LBaaS)
Virtual Private Network as a Service (VPNaaS)
OpenStack and SDN context
Choice of technology
OpenStack API for networking
Summary
2. Introduction to Software-Defined Networking
Components of traditional networks
Key aspects of the networking planes
Challenges faced by traditional networks
Control plane challenges
Management plane challenges
SDN reference architecture
Control plane improvements with SDN
Management plane improvements with SDN
SDN and OpenStack
OpenStack and Network abstractions
OpenStack and RESTful API
OpenStack and centralized management
Summary
3. SDN Protocols
Getting familiar with SDN protocols
Open vSwitch
Configuration management protocols
Protocols
YANG
YIN
pyang
NETCONF
Netopeer
OF-CONFIG
OVSDB
JSON-RPC transport
OVSDB schema
OF-CONFIG server for Open vSwitch
Understanding OpenFlow
OpenFlow as an API
OpenFlow as a control plane
OpenFlow tables
OpenFlow matching
OpenFlow actions and instructions
OpenFlow Wireshark Dissector
Summary
4. SDN Networking with Open vSwitch
OVS Networking with Linux Network namespace
OVS networking with SDN controller
OVS and Mininet
OVS connected to virtual machines
OpenStack Neutron
Neutron services layout
Open vSwitch (OVS) plugin and agent
Summary
5. Getting Started with OpenDaylight
Introduction to OpenDaylight
Architecture of OpenDaylight
REST API
Controller platform
SAL
Protocol plugins
Installing ODL
Version
Prerequisites
Installation procedure
Installing DLUX GUI
Installing the L2 Switch package
Using ODL to manage Open vSwitch
Installing and configuring OVS
Managing OVS Using OpenDaylight
ODL and OpenStack
Summary
6. Using OpenDaylight with OpenStack
Integrating OpenDaylight with OpenStack
Components of ODL and Neutron integration
Configuring OpenStack Neutron for ODL
Installing OpenDaylight features
Configuring Neutron on the OpenStack controller node
Configuring Neutron on the compute node(s)
Verifying the complete setup
Introduction to Virtual Tenant Network (VTN)
Multi-tenancy
Virtualizing the network
Service chaining
OpenDaylight Virtual Tenant Network
VTN model
Installing VTN manager
VTN and OpenStack
VTN to OpenStack entity mapping
Summary
7. Getting Started with OpenContrail
Introduction to OpenContrail
History
Use cases
OpenContrail architecture
vRouter
Compute Node components
Functions of vRouter agent
Functions of vRouter forwarding plane
Controller
Configuration Node
Control Node
Analytics Node
Scalability
Putting it all together
Installing OpenContrail
Version
Prerequisites
Installing OpenContrail
OpenContrail and OpenStack
Neutron and Nova integration
High-level flow of requests from OpenStack
Summary
8. OpenContrail Networking with OpenStack
OpenContrail integration with OpenStack
DevStack-based installation
OpenStack services used by OpenContrail
Virtual network management in OpenContrail
Creating virtual networks and VM instances
Monitoring virtual router and virtual networks
Flow of data packets in OpenContrail
Traffic isolation using encapsulation
Flow of packets in OpenContrail
Service chaining using OpenContrail
Summary
9. Open Network Operating System (ONOS)
Introduction to ONOS
Architecture of ONOS
Prerequisites for installing ONOS
Installing ONOS
Installing application components
Using ONOS to manage Open vSwitch
Intent framework
Distributed ONOS
Central Office Re-architected as Datacenter
Extensible Cloud Operating System
Summary
10. OVN and Open vSwitch Enhancements
Open vSwitch components in network node
Neutron DHCP
Neutron routing
Neutron DVR
Open vSwitch components in compute host
OVN - Native Virtual Networking Open vSwitch
Drivers for OVN
Working with OVN
OVN firewall
OVN and OpenStack
Running OVN using DevStack
Mapping of Neutron and OVN object models
Network and logical switch
Subnet and DHCP
Neutron port and OVN port
Other mappings
OVN's roadmap for OpenStack
Neutron Dragonflow
Data Path Development Kit (DPDK)
Open vSwitch with DPDK
Neutron with Open vSwitch + DPDK
Summary
Software-Defined Networking (SDN) with OpenStack
Software-Defined Networking (SDN) with OpenStack
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
Credits
About the Authors
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.
About the Reviewer
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.
www.PacktPub.com
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 service@packtpub.com 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.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
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