vconn: Replace minimum version with bitmap of allowed versions.
authorSimon Horman <horms@verge.net.au>
Mon, 5 Nov 2012 05:41:02 +0000 (21:41 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 5 Nov 2012 06:05:23 +0000 (22:05 -0800)
commit7a25bd99246a548891427d62ccefb65f765bbc48
tree960543d8741eefdd897f57911430ae1a36cb85c1
parent03e1125c312b223a28eb75454cc418a044df3ade
vconn: Replace minimum version with bitmap of allowed versions.

This is in preparation for allowing the range of allowed OpenFlow versions
to be configured.

As part of this change pvconn_open() is now paramatised over the allowed
versions.  this is to avoid avoids needing to provide version information
as a parameter to pvconn_accept().  This will in turn avoid the need to
pass version information to connmgr_run().

Signed-off-by: Simon Horman <horms@verge.net.au>
[blp@nicira.com simplified slightly and generalize log messages]
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/rconn.c
lib/vconn-provider.h
lib/vconn-stream.c
lib/vconn.c
lib/vconn.h
ofproto/connmgr.c
tests/test-vconn.c
utilities/ovs-controller.c
utilities/ovs-ofctl.c