When the controller wants to discard all the operation/messages in the bundle, it sends an OFPT_BUNDLE_CONTROL
message with the type
field set as OFPBCT_DISCARD_REQUEST
.
The controller should have created the bundle as described in the Creation of a bundle recipe, before sending the bundle discard message to a switch.
The message
field that will be used for bundle operations are described in the Introduction section of this chapter.
When the switch receives an OFPBCT_DISCARD_REQUEST
message, the switch should fetch the bundle (which was created already by the OFPBCT_OPEN_REQUEST
message) using a bundle_id
and connection_id
pair wherein the bundle_id
is the bundle identifier present in the message, and the connection id is the identifier of the received connection. Once the bundle is fetched, the switch should perform the following bundle related validations:
- If the switch can't fetch a bundle using these key pairs, the switch should send...