Book Image

OpenFlow Cookbook

Book Image

OpenFlow Cookbook

Overview of this book

Table of Contents (17 chapters)
16
Index

Introduction

The OpenFlow specification has provided a mechanism for the controller to apply a set of configuration/message actions on a switch in a transactional manner. This is defined as an OpenFlow Bundle and the messages used for this are Bundle messages. A bundle consists of a sequence of OpenFlow modification messages which are sent from the controller wherein all the messages present in the bundle operate in an all or nothing fashion, i.e. if all the operations inside the bundle are successful, then the operations inside the bundle will be applied, otherwise none of the operations will be applied.

There are four stages in the OpenFlow bundle mechanism, which are as follows:

  • Bundle initiation from the controller
  • Adding one or more OpenFlow messages inside the bundle using bundle add message
  • Closing the bundle
  • Finally committing/executing the messages inside the bundle

The following example illustrates the bundle operations with the following sequence of OpenFlow messages:

  • OFPBCT_OPEN_REQUEST...