ofp-util: Export (again) a generalized function for normalizing rules.
authorBen Pfaff <blp@nicira.com>
Mon, 9 May 2011 23:25:48 +0000 (16:25 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 27 May 2011 22:42:19 +0000 (15:42 -0700)
commitb459a924d0b1700461104142fb8b12ffee384112
treef991a486e4909936d3ad0cc20e68683141db5cb9
parentf740239011a9650ab4d63a336a4170e8f1983a63
ofp-util: Export (again) a generalized function for normalizing rules.

Feature #5029 requests that "ovs-ofctl add-flow" report an attempt to add
a flow that is not properly normalized, that is, a flow to which the switch
will add extra wildcards, ignoring some fields specified by the user.  This
requires that ofp-util make flow normalization directly available (again).

Until now, flow normalization has only been applied to OpenFlow 1.0 flows,
but the concept applies equally to NXM, so this commit generalizes the
implementation to NXM also.
lib/ofp-util.c
lib/ofp-util.h
tests/ofp-print.at