Learning OpenStack Networking (Neutron) Copyright © 2014 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.
Credits Author Project Coordinator James Denton Kartik Vedam Reviewers Proofreaders Kevin Jackson Martin Diver Jorge Armin Garcia Lopez Ameesha Green Jacob Walcik Samantha Lyon Commissioning Editor Indexers Kartikey Pandey Hemangini Bari Monica Ajmera Mehta Acquisition Editor Tejal Soni Richard Harvey Graphics Content Development Editor Sheetal Aute Susmita Panda Ronak Dhruv Technical Editor Valentina D'silva Shiny Poojary Disha Haria Abhinash Sahu Copy Editors Roshni Banerjee Production Coordinators Sarang Chari Aparna Bhagat Karuna Narayanan Shantanu N. Zagade Cover Work Aparna Bhagat.
About the Author James Denton lives with his beautiful wife, Amanda, and son, Wyatt, in San Antonio, Texas. He is an experienced IT professional with extensive experience in application networking technologies and OpenStack networking. He specializes in OpenStack for Rackspace in San Antonio, Texas. He is a Network Architect for the Rackspace Private Cloud team. He can be found on Twitter @jimmdenton and on Freenode IRC as busterswt.
About the Reviewers Kevin Jackson is married and has three children. He is an experienced IT professional working with a range of clients, from small businesses to online enterprises. He has extensive experience of various flavors of Linux and Unix. He works as Principal Cloud Architect for Rackspace UK, specializing in OpenStack and covering the international market for the DevOps & Automation Advisory Services team. He is a co-author of OpenStack Cloud Computing Cookbook, Packt Publishing and OpenStack Architecture Design Guide, OpenStack Foundation. He can be found on Twitter @itarchitectkev.
Table of Contents Preface 1 Chapter 1: Preparing the Network for OpenStack 7 What is OpenStack Networking? 8 Features of OpenStack Networking 8 Switching 8 Routing 9 Load balancing 9 Firewalling 9 Virtual private networks 9 Preparing the physical infrastructure 10 Types of network traffic 11 Management network 11 API network 12 External network 12 Guest network 12 Physical server connections 12 Single interface 13 Multiple interfaces 14 Bonding 15 Separating services across nodes 15 A single controller with one or more compute nodes 16 A single controller plus network node with one or more compute nodes 18 Summary 19 Chapter 2: Installing OpenStack 21 System requirements 22 Operating system requirements 22 Initial network configuration 23 Interface configuration 25.
Preface The latest release of OpenStack, code-named Icehouse, was released in April 2014 and includes the networking service known as Neutron (formerly Quantum). First introduced in the Folsom release of OpenStack, Neutron provides cloud operators and users with an API to create and manage networks in the cloud. An extension framework allows for additional network services, such as load balancing, firewalls, and virtual private networks, to be deployed and managed.
Preparing the Network for OpenStack Enterprises, both large and small, run their clouds using OpenStack software. While the clouds themselves may vary in complexity, one thing is common: they are made possible by the scalability and flexibility of OpenStack Compute and Networking services.
Preparing the Network for OpenStack What is OpenStack Networking? OpenStack Networking is a standalone service that can be installed independently of other OpenStack services. Other OpenStack services that fall under this category include Compute (Nova), Image (Glance), Identity (Keystone), Block Storage (Cinder), and Dashboard (Horizon). OpenStack Networking services can be split amongst multiple hosts to provide resilience and redundancy, or can be configured to operate on a single node.