When the controller wants to fetch the features of the meter table in the switch, it should send the OFPMT_METER_FEATURES
multipart message (ofp_multipart_request
) to the switch.
To get information about the meter features supported by the switch, the controller should send a multipart request message with the type
field set as OFPMT_METER_FEATURES
. The message format that should be used by the controller to form the multipart request message is defined in the Introduction section in Chapter 5, Handling Multipart Statistics Messages (Part 2).
The body
field should be left empty.
After sending the multipart request message to the switch, the controller should wait for the reply message from the switch. Once the controller receives the reply message, they should parse the reply message and should either store the data present in the reply message in their data structure, or invoke a callback API to inform the application, based...