ofp-errors: Duplicate instruction error
authorSimon Horman <horms@verge.net.au>
Mon, 2 Jun 2014 12:36:28 +0000 (21:36 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 2 Jun 2014 17:25:29 +0000 (10:25 -0700)
commit0ca30f6f9bef59e65e62e6273dc4d1d5849bcf4c
tree4aaaf1955c220aeaf89da950b57de6cd3cd84655
parent813c5ba585f59eeffb81a185bb6e14f96bc47cc2
ofp-errors: Duplicate instruction error

Add OFPERR_OFPBIC_DUP_INST (type = OFPET_BAD_INSTRUCTION, code = 9)
and use it for OpenFlow1.4+.

For OpenFlow1.1 - 1.3 map this error to ONFBIC_DUP_INSTRUCTION
(experimenter = ONF, type = 2600) which is proposed in
OpenFlow enhancement proposal EXT-260 "Add error
code for duplicate instruction.".

Previously ONFBIC_DUP_INSTRUCTION was used for OpenFlow1.3+.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
OPENFLOW-1.1+
lib/ofp-actions.c
lib/ofp-errors.h
tests/ofp-actions.at
tests/ofp-errors.at