meta-flow: Use correct OF1.2+ errors for invalid fields in actions.
authorBen Pfaff <blp@nicira.com>
Fri, 23 Aug 2013 18:11:03 +0000 (11:11 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Aug 2013 18:11:03 +0000 (11:11 -0700)
commit9e404d1e1c7d36f0746de29ccc6fa57bc4696fda
treec27a9923f3030252ba8123de633007a98897703c
parentbb61b33de6d6b8488aabf76419371a13ddecde36
meta-flow: Use correct OF1.2+ errors for invalid fields in actions.

OFPERR_OFPBAC_BAD_ARGUMENT is not as specific as the errors provided by
OpenFlow 1.2 and later.

Some of these errors needed Nicira extension numbers for use with OpenFlow
1.0 and 1.1, so this commit also adds those.

Some of these errors had poor explanations likely to confuse users, so this
commits improves them.

Some of the errors had the wrong names, so this commit fixes them.

Reported-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jean Tourrilhes <jt@hpl.hp.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/meta-flow.c
lib/nx-match.c
lib/ofp-errors.h
tests/learn.at