[ovs-dev] [PATCH v3 0/3] ovsdb-idl: Preserve references for tracked deleted rows.

Dumitru Ceara dceara at redhat.com
Fri Mar 12 12:07:16 UTC 2021


Patch 1/3 of the series makes the ovsdb-idl tests more future proof
by trying to ensure more predictable output from test-ovsdb.

Paches 2/3 and 3/3 fix problems in the IDL change tracking code.

Changes in v3:
- Patch 1/3:
  - Changed expected output of ovsdb-cluster.at to reflect the new
    formatting in test-ovsdb output.
  - Fixed typo in test-ovsdb.py.
- Patch 2/3:
  - Rework based on the discussion with Ilya.
  - Added more tests.
- Add patch 3/3:
  - Mark reference sources as "udpated" when destinations are deleted.

Changes in v2:
- Patch 1/2:
  - reworked the patch to improve the output of test-ovsdb.c and
    test-ovsdb.py themselves.
- Patch 2/2:
  - added a test for strong references.

Dumitru Ceara (3):
      ovsdb-idl.at: Make test outputs more predictable.
      ovsdb-idl: Preserve references for deleted rows.
      ovsdb-idl: Mark arc sources as updated when destination is deleted.


 lib/ovsdb-idl.c        |  141 ++++++++--
 lib/ovsdb-idl.h        |    2 
 tests/ovsdb-cluster.at |    2 
 tests/ovsdb-idl.at     |  667 +++++++++++++++++++++++++++++++-----------------
 tests/test-ovsdb.c     |  236 ++++++++++++-----
 tests/test-ovsdb.py    |  101 +++++--
 6 files changed, 764 insertions(+), 385 deletions(-)



More information about the dev mailing list