When the controller wants to delete a group table entry, it should send a group table modification message (OFPT_GROUP_MOD
) to the switch. This group table modification message contains the information required to delete the group table which includes the flow group identifier, bucket list, and so on.
The message format that should be used by the controller to send OFPT_GROUP_MOD
is defined in Adding a new group entry in a group table recipe of this chapter. Here, to delete a group table entry, the command field should be set to OFPGC_DELETE
.
The procedure to construct the group modification message for deleting a group entry is similar to that of the one explained in the previous recipe. However, while deleting an entry, the controller need not...