Chapter 10. Writing Your Own Neutron ML2 Mechanism Driver

In this chapter, we will learn how to develop a custom ML2 mechanism driver for Neutron using the following recipes:

  • Creating a basic ML2 mechanism driver
  • Registering your ML2 mechanism driver with the Neutron server
  • Processing API requests for a Network
  • Processing API requests for a Subnet
  • Processing API requests for a Port

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 ...

Get OpenStack Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.