Book Image

OpenFlow Cookbook

Book Image

OpenFlow Cookbook

Overview of this book

Table of Contents (17 chapters)
16
Index

Handling a "Get Asynchronous Configuration message" from the controller

The OpenFlow specification provides a mechanism in the controller to fetch the list of asynchronous events that can be sent from the switch to the controller channel. This is achieved by sending the "Get Asynchronous Configuration message" (OFPT_GET_ASYNC_REQUEST) to the switch.

How to do it...

The message format to be used to get the asynchronous configuration message (OFPT_GET_ASYNC_REQUEST) doesn't have any body other than ofp_header. On receiving this OFPT_GET_ASYNC_REQUEST message, the switch should respond with the OFPT_GET_ASYNC_REPLY message. The message format of OFPT_GET_ASYNC_REPLY is the same as that of the OFPT_SET_ASYNC message as described in the Handling the set asynchronous configuration message recipe of this chapter. The switch should fill the property list with the list of asynchronous configuration events / property types that the relevant controller channel is preconfigured...