This series extends ovn-ic to include support for transit routers.
The changes include new ovn-ic-nb commands to add and manipulate transit
routers and ports, schema updates and new tests.
Transit routers added using these new commands will have to same
tunnel-key across AZs. 

In the future I also want to create a new ovn-fake-multinode tests suite
similar to make check-multinode, but with ovn-ic enabled on the worker chassis.

v7:
- Use int64_t for tunnel_key.
- Don't free tunnel ID.
- Remove unnecessary shash_deletes.
- Move addition of port command to correct patch. 
- Delay creation of Logical Router Port until ICSB port binding
  transaction has completed successfully.
- Simplify Logical Router Port requested-tnl-key validation.

v6:
- Revert transit switch changes releated to using nb_ic_uuid and type.
- Use SHASH_FOR_EACH instead of SHASH_FOR_EACH_SAFE.
- Use check instead of AT_CHECK.
- Remove unnecessary variable creation in nb-ic-ctl tests.
- Remove unnecessary OVS_UNUSED.
- Move config of datapath tunnel key to correct patch.
- Split create_isb_pb function due to reliance on sb_pb.
- Replace wait_row_count with check_row_count where possible.

v5:
- Fix sync issues in tests.

v4:
- Seperate collection of datapath tunnel ids from ts_run function.
- Remove ability to set requested-tnl-key manually.
- Split move of network parsing code into seperate patch.
- Add transit router port to transit router table in schema.
- Remove ic_trp_data struct and use shash instead.
- Remove ic_pb_info struct and use shash instead.
- Only support ports bound to a chassis.
- Add test for port network collision.
- Use wait_row_count instead of grep in tests.

v3:
- Remove unrelated changes
- Fix coding standard violation
- Create a ICSB entry for every port
- Update schema versions.
- Set min number of types and nb_ic_uuid to zero.
- Remove changes releated to routes.
- Update ic-nbctl trp-add network parsing to match nbctl_lrp_add.
- Split patches
- Add ovn-ic-nbctl tests for transit router port.

v2:
- Combine patches into a single patch

Mairtin O'Loingsigh (4):
  ic: Update schema to add Transit Router.
  ic: Add Transit router support.
  ovn-util: Add network and prefix parsing to utils.
  ic: Add Transit Router port support.

 NEWS                     |   7 +
 TODO.rst                 |   2 +
 ic/ovn-ic.c              | 563 ++++++++++++++++++++++++++++++++-------
 lib/ovn-util.c           | 101 +++++++
 lib/ovn-util.h           |  14 +
 ovn-architecture.7.xml   |  10 +-
 ovn-ic-nb.ovsschema      |  36 ++-
 ovn-ic-nb.xml            |  70 +++++
 ovn-ic-sb.ovsschema      |  23 +-
 ovn-ic-sb.xml            |  18 ++
 tests/ovn-ic-nbctl.at    |  65 +++++
 tests/ovn-ic.at          | 255 ++++++++++++++++++
 utilities/ovn-ic-nbctl.c | 326 ++++++++++++++++++++++-
 utilities/ovn-nbctl.c    |  98 -------
 14 files changed, 1377 insertions(+), 211 deletions(-)

-- 
2.51.0

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

Reply via email to