Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


This chapter is targeted towards developers and we will use DevStack to develop the driver for the ML2 plugin. DevStack is a tool to install an all-in-one OpenStack node. DevStack also provides you with a development environment for OpenStack-related programming. Knowledge of the Python programming language is a prerequisite for this chapter.

Before we dive into the recipes, let's understand how the plugin works.

As discussed in the first chapter, Neutron supports the core networking features using entities such as Network, Subnet, and Port. These entities are implemented using virtual and physical networking technologies. In order to allow multiple networking technologies to interoperate, Neutron uses the concept of plugins. The following image shows the Neutron plugin model:

As shown here, Neutron supports one core plugin. The Modular Layer 2 (ML2) is a type of a core plugin that supports multiple drivers so that the plugin functionality can be extended and customized. The ML2...