mbox series

[ovs-dev,v3,0/4] OVN-IC: add basic sequence number status support

Message ID 20240109111232.539196-1-mheib@redhat.com
Headers show
Series OVN-IC: add basic sequence number status support | expand

Message

Mohammad Heib Jan. 9, 2024, 11:12 a.m. UTC
Currently, OVN-IC doesn't support a way to tell the end-user when their changes
to the IC-NB database have propagated successfully to the IC-SB Database.

This patch series adds basic support for the sequence number status protocol
that is implemented on the native OVN, with this patch series the end user
now can wait for their changes in the IC-NB DB to take effect by executing the
'sync' command after applying any changes to the IC-NB DB, for example, if the
end-user has created a transit switch in the IC-NB global DB and want to make
sure that the IC-SB create a DP binding for this ts-switch the user now can use
the 'sync' command as following:
    $ ovn-ic-nbctl ts-add ts1
    $ ovn-ic-nbctl --wait=sb sync

The second command will wait until all the ovn-ic instances see the new changes
and update their own local dbs and the global IC-SB db.

v2 -> v3
--------
    * Rebase over main.
    * Addressed review comments from Mark and Ales.

Mohammad Heib (4):
  OVN-IC: interconnect DBs add basic Information Flow columns
  ovn-ic: implement basic INB change handling status
  OVN-IC: Make it possible for CMS to detect when the ISB is up-to-date.
  ic/tests: add unit test for ic sync command

 NEWS                         |  8 +++
 ic/ovn-ic.c                  | 96 ++++++++++++++++++++++++++++++++++--
 ovn-ic-nb.ovsschema          |  6 ++-
 ovn-ic-nb.xml                | 17 +++++++
 ovn-ic-sb.ovsschema          |  8 +--
 ovn-ic-sb.xml                | 21 ++++++++
 tests/ovn-ic.at              | 47 ++++++++++++++++++
 utilities/ovn-ic-nbctl.8.xml | 49 ++++++++++++++++++
 utilities/ovn-ic-nbctl.c     | 85 ++++++++++++++++++++++++++++++-
 9 files changed, 325 insertions(+), 12 deletions(-)