ovs-ofctl: Reject impossible protocols configurations at startup.
authorBen Pfaff <blp@nicira.com>
Thu, 29 Nov 2012 06:22:38 +0000 (22:22 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 29 Nov 2012 16:04:56 +0000 (08:04 -0800)
commit37923ac734a8b8bdb4da2fe77a24d77d487dc056
treeb7ce332c2506f65d699d78812fa34486361e3bbd
parent4f13da568d49b4910cedf45e6c54c43ea318dd18
ovs-ofctl: Reject impossible protocols configurations at startup.

The -O and -F options interact, so that it's possible to select only
flow formats that are not supported on a given OpenFlow version.  It seems
best to report these problems up front rather than failing in a more
mysterious way later.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Simon Horman <horms@verge.net.au>
lib/ofp-version-opt.c
lib/ofp-version-opt.h
tests/ovs-ofctl.at
utilities/ovs-ofctl.c