[ovs-dev] [PATCH] nx-match: Log a warning when a wildcarded bit is set to 1.
blp at nicira.com
Tue Oct 16 17:23:52 UTC 2012
On Wed, Oct 03, 2012 at 09:48:57AM -0700, Ben Pfaff wrote:
> This was prompted by a conversation on the openflow-discuss mailing list
> where developers of some OpenFlow switches mentioned that they save an
> entire copy of raw flows passed in by controllers because of the
> possibility that there might be wildcarded 1-bits, e.g. something like
> 192.168.1.1/255.255.0.0 instead of 192.168.0.0/255.255.0.0. I've always
> intended that this not be necessary, but it was never explicitly written
> down. This commit starts the process of updating OVS to make this a
> requirement, by logging a warning whenever such a NXM or OXM entry is seen,
> and by updating the spec in nicira-ext.h to describe my intent.
> I intend to also file a bug report in the ONF tracker for OpenFlow to get
> a similar clarification into OpenFlow 1.4. (I don't intend to make this
> an error in Open vSwitch unless ONF actually accepts this change.)
> Thanks to Zoltán Lajos Kis, Dan Talayco, Rob Sherwood, and HIDEyuki
> Shimonishi for participating in the discussion on openflow-discuss.
> Signed-off-by: Ben Pfaff <blp at nicira.com>
This still needs a review.
More information about the dev