ofproto: Log changes made by flow normalization.
authorBen Pfaff <blp@nicira.com>
Thu, 24 Jun 2010 21:20:45 +0000 (14:20 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 28 Jun 2010 18:27:02 +0000 (11:27 -0700)
commit3f09c339f7e5e3d74bb06600b7f05c8efccbf132
treea5fd36b0abb6714003e2ba92b9aa96ba778935f5
parentab32de001f10ddcb119360744c078ed9c1aebb06
ofproto: Log changes made by flow normalization.

Open vSwitch has always "normalized" flows, that is, zeroed out fields that
are wildcarded or that otherwise cannot affect whether a packet actually
matches the flow.  But until now it has done so silently, which prevents
the authors of controllers from learning what is happening and makes it
less likely that they will update code on their end.  This commit makes
OVS log when normalization changes a flow.

Suggested by partner.
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto.c