ofp-actions: Make ofpacts_check() report consistency for all protocols.
authorBen Pfaff <blp@nicira.com>
Fri, 15 Nov 2013 22:19:57 +0000 (14:19 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 20 Nov 2013 17:37:16 +0000 (09:37 -0800)
commitba2fe8e9f17602a260a626c6a823584975dbe757
treecfa3de99d7c84636f613312540ca1e0248d0c6f0
parent1cc1e356430bccb3784734663f823ba65e4bb990
ofp-actions: Make ofpacts_check() report consistency for all protocols.

Until now ofpacts_check() has been told either to enforce consistency or
not, but that means that the caller has to know exactly what protocol is
going to be in use (because some protocols require consistency to be
enforced and others don't).  This commit changes ofpacts_check() to just
rule out protocols that require enforcement when it detects
inconsistencies.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/ofp-actions.c
lib/ofp-actions.h
lib/ofp-parse.c
lib/ofp-parse.h
lib/ofp-util.c
ofproto/ofproto-dpif.c
tests/learn.at
tests/ofp-actions.at
tests/ovs-ofctl.at
tests/test-controller.c
utilities/ovs-ofctl.c