O'Reilly logo

OpenStack Networking Cookbook by Chandan Dutta Chowdhury, Sriram Subramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required