Flow Mod Validations
Scenario |
Error Type |
Error Code |
---|---|---|
The “experimenter” field in the experimenter header of flow mod message contains a value other than HP_VENDOR_ID |
OFPET_BAD_MATCH |
OFPBMC_UNKNOWN |
The payload for the TCP flags match field contains an invalid value. (Example: in TCAM, if any bit in position 6:7 is set) |
OFPET_BAD_MATCH |
OFPBMC_BAD_VALUE |
If either OFPXMT_OFB_TCP_SRC/ OFPXMT_OFB_UDP_SRC or OFPXMT_OFB_TCP_DST/ OFPXMT_OFB_UDP_DST is already present in the flow mod and L4 source port range or, L4 destination port range matching is also specified respectively. |
OFPET_BAD_MATCH |
OFPBMC_DUP_FIELD |
If the port range match is specified without the OFPXMT_OFB_IP_PROTO match pre-requisite. |
OFPET_BAD_MATCH |
OFPBMC_BAD_PREREQ |
If the TCP flag matching is specified without the IP_PROTO match being set to 6 (TCP). |
OFPET_BAD_MATCH |
OFPBMC_BAD_PREREQ |
If all the TCAM range registers for a slot are used up, an attempt to install a new rule on the slot with L4 port range match returns an OFPET_EXPERIMENTER error message to the controller. The Error code is as agreed between the Switch and the Controller team (0). The “experimenter” field has the HP_VENDOR_ID. |
OFPET_EXPERIMENTER |
Exp_type = OFPERR_OFPET_EXPERIMENTER_RANGE_FULL (0) |