[ovs-dev] [PATCH v4 0/2] OVN: Distributed Virtual Router for Vlan Backed Networks

Ankur Sharma ankur.sharma at nutanix.com
Thu Apr 25 00:15:04 UTC 2019


This series is about enhancing the logical router functionality in OVN to work
with vlan backed logical switches.

Intial proposal was discused here:
[1] https://mail.openvswitch.org/pipermail/ovs-dev/2018-October/353066.html
[2] https://docs.google.com/document/d/1uoQH478wM1OZ16HrxzbOUvk5LvFnfNEWbkPT6Zmm9OU/edit?usp=sharing

This series covers following:
a. L2:
   Associate a type with logical switches. Type value could be vlan or overlay.

b. L3 E-W:
   In the absence of encapsulation, we cannot use router port mac as source mac
   (since it is distributed), hence replace the same with a chassis unique mac.

c. L3 N-S:
   Use gateway-chassis construct to respond to ARP requests for router port,
   so that it becomes entry point for all chassis bound traffic coming from
   "external" network.
   Some additional changes, like no need to redirect south to north traffic
   in the absence of NAT etc.

This series does not cover following:
(will be sent out for review in follow up series once this series is reviewed/committed)
a. Network Address Translation.
b. Ensuring VMs mac is learnt in underlay network to avoid flooding of L3 flows.


Ankur Sharma (2):
  OVN: Enable E-W Traffic, Vlan backed DVR
  OVN: Enable N-S Traffic, Vlan backed DVR

 ovn/controller/binding.c            |  12 +-
 ovn/controller/chassis.c            |  66 ++++-
 ovn/controller/chassis.h            |   4 +
 ovn/controller/ovn-controller.8.xml |  10 +
 ovn/controller/ovn-controller.c     |   2 +-
 ovn/controller/ovn-controller.h     |   5 +-
 ovn/controller/physical.c           | 114 ++++++++
 ovn/controller/pinctrl.c            | 206 +++++++++++++--
 ovn/controller/pinctrl.h            |   6 +
 ovn/lib/ovn-util.c                  |  31 +++
 ovn/lib/ovn-util.h                  |   6 +
 ovn/northd/ovn-northd.c             |  81 +++++-
 ovn/ovn-architecture.7.xml          |  12 +
 ovn/ovn-nb.ovsschema                |   9 +-
 ovn/ovn-nb.xml                      |  16 ++
 ovn/ovn-sb.xml                      |  15 ++
 ovn/utilities/ovn-nbctl.c           |  49 +++-
 tests/ovn-nbctl.at                  |  48 +++-
 tests/ovn-northd.at                 |  22 ++
 tests/ovn.at                        | 502 ++++++++++++++++++++++++++++++++++++
 20 files changed, 1145 insertions(+), 71 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list