Book Image

OpenFlow Cookbook

Book Image

OpenFlow Cookbook

Overview of this book

Table of Contents (17 chapters)
16
Index

Deleting a group entry in a group table

When the controller wants to delete a group table entry, then it sends a group table modification message (OFPT_GROUP_MOD) to the switch. This group table modification message contains the necessary information required to delete the group entry which includes the flow group identifier, bucket list and so on.

Tip

The OFPT_GROUP_MOD message is used for all the group table entry operations such as adding a new group entry, deleting an existing group entry, and modifying a group entry in the group table.

How to do it...

The message format used by the controller to send the OFPT_GROUP_MOD is defined in the Adding a new group entry in a group table recipe in Chapter 4, Group Table and Meter Table modification Messages (Part 1). Here, to delete a group table entry, the command field is set as OFPGC_DELETE.

While processing the group delete message by the switch, if there are no matching entries with a specified identifier present, then the switch should ignore...