mbox series

[ovs-dev,v2,0/6] Add multiple routing tables support to Logical Routers

Message ID 20210903103441.33178-1-odivlad@gmail.com
Headers show
Series Add multiple routing tables support to Logical Routers | expand

Message

Vladislav Odintsov Sept. 3, 2021, 10:34 a.m. UTC
This patch series extends Logical Router's routing functionality.
Now user may create multiple routing tables within a Logical Router
and assign them to Logical Router Ports.

Traffic coming from Logical Router Port with assigned route_table
is checked against global routes if any (Logical_Router_Static_Routes
whith empty route_table field), next against directly connected routes
and then Logical_Router_Static_Routes with same route_table value as
in Logical_Router_Port options:route_table field.

This series doesn't have ddlog support yet. It will take too much time
for me to deal to ddlog language and specifics. I've got draft, but help wanted.

---
v1 -> v2:
  - First patch of v1 patch series was applied, but new tests for new feature
    were added with strict table number check. Update this tests to be table
    number-independent.
  - Squash pathes for northd and utilities as tests don't pass without latter.
  - Add support for OVN IC routing table in routes advertisement/learning.
  - Patches `ic: remove port_binding on ts deletion`
    https://patchwork.ozlabs.org/project/ovn/patch/20210824184442.35063-1-odivlad@gmail.com/
    and `ic: process only local port_bindings`
    https://patchwork.ozlabs.org/project/ovn/patch/20210830195707.98529-1-odivlad@gmail.com/
    were already sent to list separately, but other changes are based on them
    so they're included.
    Once those patches are accepts, I can drop them from this series.
  - Added NEWS item.
  - Added myself to authors list.

Vladislav Odintsov (6):
  ic: remove port_binding on ts deletion
  ic: process only local port_bindings
  tests: remove strict check for table=N for N > 9
  northd,utils: support for RouteTables in LRs
  ic: add support for routing tables in adv/learn routes
  Update Authors list

 AUTHORS.rst             |   1 +
 NEWS                    |   4 +
 ic/ovn-ic.c             | 579 ++++++++++++++++++++++++++--------------
 northd/ovn-northd.8.xml |  63 ++++-
 northd/ovn-northd.c     | 198 +++++++++++---
 ovn-ic-sb.ovsschema     |   5 +-
 ovn-ic-sb.xml           |  18 ++
 ovn-nb.ovsschema        |   5 +-
 ovn-nb.xml              |  30 +++
 tests/ovn-ic.at         | 496 ++++++++++++++++++++++++++++++++++
 tests/ovn-nbctl.at      | 196 +++++++++++++-
 tests/ovn-northd.at     |  80 +++++-
 tests/ovn.at            | 441 +++++++++++++++++++++++++++++-
 utilities/ovn-nbctl.c   | 134 +++++++++-
 14 files changed, 1983 insertions(+), 267 deletions(-)