ovs-ofctl: Report attempts to add (remove, etc.) non-normalized flows.
authorBen Pfaff <blp@nicira.com>
Tue, 10 May 2011 15:59:21 +0000 (08:59 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 27 May 2011 22:45:19 +0000 (15:45 -0700)
commit01b389b1109fc667c37c1ace3bded423d9f38637
tree75af54e331632eb3ac9feab0819a300af57c5db2
parentb459a924d0b1700461104142fb8b12ffee384112
ovs-ofctl: Report attempts to add (remove, etc.) non-normalized flows.

Commit 0b3f27253 (ovs-ofctl: Warn about flows not in normal form) made
ovs-ofctl warn about non-normalized flows, that is, flows some of whose
specified fields will be ignored by the switch.  This was convenient for
users, who are understandably confused by flow normalization.  However,
later commit 8050b31d6 (ofp-parse: Refactor flow parsing) accidentally
deleted the warning.  This commit restores it and adds a test to ensure
that it doesn't get deleted again later.

Reported-by: Reid Price <reid@nicira.com>
Bug #5029.
lib/ofp-parse.c
tests/ofproto-macros.at
tests/ovs-ofctl.at