[ovs-dev] [PATCH ovn v3 0/3] Add multiple routing tables support to Logical Routers

Vladislav Odintsov odivlad at gmail.com
Fri Sep 17 21:49:42 UTC 2021


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.

---
v2 -> v3:
  - Rebased on split northd changes.
  - Replaced route_tables HMAP with SIMAP as Numan suggested.
  - This series stil doesn't have ddlog support yet.
    It will take too much time for me to deal to ddlog language and specifics.
    Help with ddlog implementation 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 (3):
  ic: process only local port_bindings
  northd,utils: support for RouteTables in LRs
  ic: add support for routing tables in adv/learn routes

 NEWS                    |   4 +
 ic/ovn-ic.c             | 542 ++++++++++++++++++++++++++--------------
 northd/northd.c         | 160 +++++++++---
 northd/ovn-northd.8.xml |  63 +++--
 ovn-ic-sb.ovsschema     |   5 +-
 ovn-ic-sb.xml           |  18 ++
 ovn-nb.ovsschema        |   5 +-
 ovn-nb.xml              |  30 +++
 tests/ovn-ic.at         | 444 ++++++++++++++++++++++++++++++++
 tests/ovn-nbctl.at      | 196 ++++++++++++++-
 tests/ovn-northd.at     |  76 +++++-
 tests/ovn.at            | 441 +++++++++++++++++++++++++++++++-
 utilities/ovn-nbctl.c   | 134 +++++++++-
 13 files changed, 1856 insertions(+), 262 deletions(-)

-- 
2.30.0



More information about the dev mailing list