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

Ports


In the Neutron data model, a port represents a switch port on a logical switch that spans the entire cloud and contains information about connected devices. Virtual machine interfaces (VIFs) and other network objects such as router and DHCP server interfaces are mapped to Neutron ports. The ports define both the MAC address and the IP address to be assigned to the devices associated with them. Each port must be associated with a Neutron network.

The following diagram shows how a port describes various Layer 2 attributes in the OSI model:

The following table describes attributes associated with port objects:

Attribute

Type

Required

Default

Notes

id

uuid-str

n/a

Auto generated

The UUID of the subnet

network_id

uuid-str

Yes

N/A

The UUID of the associated network

name

string

no

None

The human-readable name of the subnet

admin_state_up

boolean

no

True

The administrative state of the port

status

string

N/A

N/A

The current status of the port (for example...