This series introduces Transit Switch Ports (TSPs) for OVN interconnect.
TSPs allow explicit creation and management of ports on a transit switch
via ovn-ic-nbctl, giving operators direct control over port configuration,
addressing, and chassis placement across availability zones.

The series has two patches:

Patch 1 renames the local/remote port status helpers in ovn-ic to be more
generic, preparing for their reuse by the TSP logic.

Patch 2 adds the Transit_Switch_Port table to the IC-NB schema, three new
ovn-ic-nbctl commands (tsp-add, tsp-del, tsp-set-addr), and the syncing
logic in ovn-ic to propagate TSP configuration to the NB and ISB databases.
It also refactors the duplicate IP detection from ovn-nbctl into a shared
helper in lib/ovn-util.c. Unit tests for ovn-ic-nbctl, ovn-ic, and a
multinode test are included.

Changes since v6:
  - Remove get_lp_address_for_ts_pb function.
  - Copy address directly from INB to ISB.
  - Add router-port and peer setting clean up.
  - Split local and remote port sync.

Changes since v5:
  - Move configuration of address to make code more readable.
  - Remove unnecessary tsp address helper.
  - Remove redundant isb_pb lookup.
  - Revert changes to legacy code path.

Changes since v4:
  - Fix router port type address sync.
  - Sync requested chassis, type, peer, tunnel.
  - Fix ICSB race by adding a leader check.

Changes since v2:
  - Remove function which was not needed.
  - Dont overwrite router-id.
  - Unify support functions.
  - Remove left over debug code from tests.
  - Add ovn-ic-nbctl.8.xml updates. 
  - Add tsp-del test.

Changes since v1:
  - Merge patches.
  - Bump OVNIC NB version number.
  - Add NEWS entry.
  - Remove option column from TSP.
  - Remove nb_uuid from TSP.
  - Clean up coding standard violations.
  - Fix missing port issue.

Mairtin O'Loingsigh (2):
  ic: Update port local/remote status function.
  ic: Add transit switch port and schema.

 NEWS                         |   2 +
 ic/ovn-ic.c                  | 283 +++++++++++++++++++++++++++++--
 lib/ovn-util.c               |  44 +++++
 lib/ovn-util.h               |   4 +
 ovn-ic-nb.ovsschema          |  26 ++-
 ovn-ic-nb.xml                |  42 +++++
 tests/multinode.at           |  45 ++---
 tests/ovn-ic-nbctl.at        |  47 ++++++
 tests/ovn-ic.at              | 314 +++++++++++++++++++++++++++++++++++
 utilities/ovn-ic-nbctl.8.xml |  56 +++++++
 utilities/ovn-ic-nbctl.c     | 248 ++++++++++++++++++++++++++-
 utilities/ovn-nbctl.c        |  53 +-----
 12 files changed, 1064 insertions(+), 100 deletions(-)

-- 
2.54.0

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

Reply via email to