[ovs-dev] [PATCH v2 0/2] ovn: Check for effects of incremental processing

Jakub Sitnicki jkbs at redhat.com
Thu May 31 10:41:09 UTC 2018


(This patch set depends on v2 of the "ovn-controller incremental processing"
patch set [1].)

At the moment we lack tests that confirm that incremental logical flow
processing is working as expected. This patch set aims to address this.

The approach to testing is, in short, to observe if we hit the coverage counter
for full logical processing routine in ovn-controller (lflow_run) while
perfoming various operations, like adding a logical switch port.

[1] https://patchwork.ozlabs.org/project/openvswitch/list/?series=46497

Changes from v1 to v2:
- Drop the merged patch that introduced a coverage counter for lflow_run().
- Rename the proposed new coverage command from 'read-count' to 'read-counter'.
- Read the total count for a coverage counter while holding the mutex.
- Cover the newly added coverage command in the man page.
- Drop the changes that test for full logical flow processing when handling
  packet-ins. Plan is to address this in a separate test in subsequent patches.
- Add a new test that checks which operations commly used by CMS trigger full
  logical flow processing in the ovn-controller.


Jakub Sitnicki (2):
  coverage: Add command for reading counter value
  ovn: Test for full logical flow processing in ovn-controller

 lib/coverage-unixctl.man |   2 +
 lib/coverage.c           |  43 +++++++
 tests/automake.mk        |   3 +-
 tests/ovn-performance.at | 287 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/testsuite.at       |   1 +
 5 files changed, 335 insertions(+), 1 deletion(-)
 create mode 100644 tests/ovn-performance.at

--
2.14.3


More information about the dev mailing list