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

Vladislav Odintsov odivlad at gmail.com
Tue Oct 5 11:55:45 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.

v4 -> v5:
  - Addressed Numan's review comments.

v3 -> v4:
  - Minor logging typo fixes.
  - Added patch with ovn-ic routes learning bugfix.

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
  - 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`
    and `ic: process only local port_bindings`
    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 (4):
  ic: process only local port_bindings
  northd,utils: support for RouteTables in LRs
  ic: add support for routing tables in adv/learn routes
  ic: don't learn routes which have local GW

 NEWS                    |   4 +
 ic/ovn-ic.c             | 569 ++++++++++++++++++++++++++--------------
 northd/northd.c         | 159 ++++++++---
 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         | 493 ++++++++++++++++++++++++++++++++++
 tests/ovn-nbctl.at      | 196 +++++++++++++-
 tests/ovn-northd.at     |  76 +++++-
 tests/ovn.at            | 441 ++++++++++++++++++++++++++++++-
 utilities/ovn-nbctl.c   | 138 +++++++++-
 13 files changed, 1934 insertions(+), 263 deletions(-)


More information about the dev mailing list