[ovs-dev] [mointor2 9/9] ovsdb: test ovs-vswitchd for backward compatibility

Ben Pfaff blp at ovn.org
Tue Nov 10 17:49:31 UTC 2015


On Wed, Oct 21, 2015 at 09:45:31PM -0700, Andy Zhou wrote:
> Add test to make sure ovs-vswitchd fall back to use the
> "monitor" method when connecting to an older ovsdb-server that
> does not support "monitor2".
> 
> For testing backward compatibility, add an ovs-appctl command:
> "ovsdb-server/disable-monitor2". This command will restart
> all currently open jsonrpc connections, but without support for
> 'monitor2' JSON-RPC method for the new connections.
> 
> There is no corresponding enable command, since this feature is only
> useful for testing.  'monitor2' will be available when ovsdb-server
> restarts.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

Thanks!

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list