When the controller wants to program a meter, then the controller sends a meter modification message (OFPT_METER_MOD
) to the switch. This meter modification message contains the information required to program the meter table which includes meter identifier, bands and so on.
The message format that is used by the controller to send the OFPT_METER_MOD
is defined in Adding a new meter in a meter table recipe in Chapter 4, Group Table and Meter Table modification Messages (Part 2).
When the switch receives an OFPT_METER_MOD
message to add a meter, the switch should perform the following check before adding the entry:
- If a meter is already present then the switch must ignore this add message and respond with an error message with the type
OFPET_METER_MOD_FAILED
and the codeOFPMMFC_METER_EXISTS
. - If the...