When the controller wants to finish recording the bundle messages, it sends an OFPT_BUNDLE_CONTROL
message with the type
field set as OFPT_BUNDLE_CLOSE_REQUEST
.
The controller should have created the bundle as described in the Creation of a bundle recipe, before sending the bundle close message to a switch.
The message
field that will be used for bundle operations is described in the Introduction section of Chapter 7, Handling Bundle Messages (Part 2). This is an optional message and the controller does not need to send this message; instead, it can directly send the bundle commit message. For more information regarding the bundle commit message, refer to the recipe Committing or executing all the operations inside a bundle in this Chapter.