On Mon, Jan 08, 2024 at 03:52:23PM +0100, Ilya Maximets wrote:
> Add new 'monitor' command to test-ovsdb utilities to make them just
> run IDL loop infinitely.  Other commands can still be placed before
> the 'monitor', e.g. setting up conditions, tracking, running a few
> transactions.
> 
> Having that, adding a couple test cases for IDL with online database
> conversion.  Test checks that IDL receives monitor cancellation
> notification and successfully re-sends monitor requests.
> 
> While at it, adding debug logging to ovsdb-server processes for easier
> debugging.
> 
> While working on a test the issue was discovered that schema for
> standalone databases is not getting updated in the _Server database
> after conversion.  Checking the new schema bits only for clustered
> databases for now.
> 
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
> 
> WARN: The test is going to fail for python IDL implementation without:
>       
> https://patchwork.ozlabs.org/project/openvswitch/patch/[email protected]/

Accepted as per discussion at the link above.

- ovsdb-idl.at: Test IDL behavior during database conversion.
  https://github.com/openvswitch/ovs/commit/67ee6308781d
- python: idl: Handle monitor_canceled.
  https://github.com/openvswitch/ovs/commit/ac04dfa7ec36

Backport to branch-3.2:
- ovsdb-idl.at: Test IDL behavior during database conversion.
  https://github.com/openvswitch/ovs/commit/b3d094b4fb4e
- python: idl: Handle monitor_canceled.
  https://github.com/openvswitch/ovs/commit/a1935e962876

Backport to branch-3.1 (with dependency):
- ovsdb-idl.at: Test IDL behavior during database conversion.
  https://github.com/openvswitch/ovs/commit/dd3f0626ed16
- tests-ovsdb: Switch OVSDB_START_IDLTEST to macro.
  https://github.com/openvswitch/ovs/commit/2c6b81ad6e22
- python: idl: Handle monitor_canceled.
  https://github.com/openvswitch/ovs/commit/e9c5226cc296

Backport to branch-3.2 (with dependency):
- ovsdb-idl.at: Test IDL behavior during database conversion.
  https://github.com/openvswitch/ovs/commit/28926225c422
- tests-ovsdb: Switch OVSDB_START_IDLTEST to macro.
  https://github.com/openvswitch/ovs/commit/2404ca561e94
- python: idl: Handle monitor_canceled.
  https://github.com/openvswitch/ovs/commit/219f1ebb0624

Backport to branch-2.17 (with dependencies):
- ovsdb-idl.at: Test IDL behavior during database conversion.
  https://github.com/openvswitch/ovs/commit/9bbc2cf8a89e
- tests: Use _DAEMONIZE macro's to start tcpdump.
  https://github.com/openvswitch/ovs/commit/049189584f5a
- tests-ovsdb: Switch OVSDB_START_IDLTEST to macro.
  https://github.com/openvswitch/ovs/commit/30099c5d9ef7
- python: idl: Handle monitor_canceled.
  https://github.com/openvswitch/ovs/commit/f4b4d650a1e0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to