Book Image

OpenStack Networking Essentials

By : James Denton, Derek Chamorro
Book Image

OpenStack Networking Essentials

By: James Denton, Derek Chamorro

Overview of this book

The OpenStack Networking API offers users the ability to create and manage both basic and complex network architectures that blend the virtual and physical network infrastructure. This book kicks off by describing various components of Openstack Neutron and installing Ubuntu OpenStack based on Canonical's process. Further on, you will use various methods to interface with Neutron to create and manage network resources. You will also get to grips with the relationship between ports, networks, and subnets through diagrams and explanations, and see how the logical components are implemented via plugins and agents. Moving forward, you will learn how virtual switches are implemented and how to build Neutron routers. You will also configure networks, subnets, and routers to provide connectivity to instances using simple examples. At the end, you will configure and manage security groups, and will observe how these rules translate to iptables rules on the host machines. By the end of the book, you will be able to build basic network architectures using Neutron networks and routers in no time.
Table of Contents (15 chapters)
OpenStack Networking Essentials
Credits
About the Author
www.PacktPub.com
Preface
Index

Additional installation tasks


Packstack does a lot of the heavy lifting, but before we can call the installation complete, there are some additional tasks that must be done to assist with the examples and exercises found in later chapters.

Create a security group rule

Before we can connect to the instances that will be created in later chapters, a security group rule must be added to allow that access. Chapter 8, Security Group Fundamentals, goes into some detail about security group usage and rule construction, but for now, we'll simply add a rule to the default security group to allow our connections to work.

Using the neutron security-group-rule-create command, create a security group rule in the default group that allows connections over the SSH protocol (TCP port 22), as shown in the following screenshot:

Create a demo project and user

Throughout the book, we will look at different behaviors between users with the admin role and users without it. Create a new project and user named demo...