vswitchd: Configuration of allowed OpenFlow versions
authorSimon Horman <horms@verge.net.au>
Mon, 19 Nov 2012 05:59:30 +0000 (14:59 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 19 Nov 2012 21:04:11 +0000 (13:04 -0800)
commit7beaa082d7f422dda337780d6dd457b9a5ffe7d5
tree99a63e1b074865d10922bcd82bbad1ab0816726c
parenteb12aa89e70848837127e10d6d0dd89be89ebaa2
vswitchd: Configuration of allowed OpenFlow versions

Versions may be configured using the protocols column of
the bridge table. The protocols column is a set which accepts zero
or more of the values: 'OpenFlow10' and 'OpenFlow12'.

If the protocols column is empty, then OpenFlow10 is used.
This default is consistent with the behaviour of ovs-vswtichd
prior to this patch.

Signed-off-by: Simon Horman <horms@verge.net.au>
[blp@nicira.com adjusted comments and documentation]
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c
lib/ofp-util.h
tests/ovs-vsctl.at
vswitchd/bridge.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml