Book Image

OpenFlow Cookbook

Book Image

OpenFlow Cookbook

Overview of this book

Table of Contents (17 chapters)
16
Index

Sending a switch configuration message to the switch

The switch configuration messages are used by the controller to set and get switch configuration parameters.

The OpenFlow specification defines the following three switch configuration messages:

  • OFPT_SET_CONFIG: This message is sent from the controller to configure the switch. Typically this message is sent from the controller upon a successful connection establishment and after identifying the switch's features using the OFPT_FEATURES_REQUEST message.
  • OFPT_GET_CONFIG_REQUEST: This message is sent from the controller to get configuration information from the switch. This message can be sent from the controller at any time.
  • OFPT_GET_CONFIG_REPLY: This message is the reply message sent from the switch for the OFPT_GET_CONFIG_REQUEST message.

The controller can configure the following parameters in the switch:

  • The maximum bytes of data that the switch should send to the controller while sending the buffered packets.
  • IP fragmentation related...