[ovs-dev] [PATCH 0/2] Addressing VLAN tenant network issues and add

nusiddiq at redhat.com nusiddiq at redhat.com
Fri Oct 5 17:14:25 UTC 2018

From: Numan Siddique <nusiddiq at redhat.com>

Patch 1 addresses the VLAN tenant network issue.

An OVN deployment can have multiple logical switches each with a
localnet port connected to a distributed logical router with one
logical router port providing external connectivity (provider network)
and others used as tenant networks with VLAN tagging.

As reported in [1], external traffic from these VLAN tenant networks
are tunnelled to the gateway chassis (chassis hosting a distributed
gateway port which applies NAT rules). As part of the discussion in
[1], there were few possible solutions proposed by Russell [2]. This
patch implements the first option in [2].

Patch 2 adds a new logical port type - 'external' to support using
of OVN native services like DHCP for VMs which are not bound to any
ovn-controller chassis. The main use case is for SR-IOV VMs.
Patch 2 also addresses the comments from Ben about adding documenation
in ovn-architecture.

I had submitted these patches separately earlier. Now I have made it
as a series and reset the patch version to 1.

Numan Siddique (2):
  ovn: Avoid tunneling for VLAN packets redirected to a gateway chassis
  ovn: Support a new Logical_Switch_Port.type - 'external'

 ovn/controller/binding.c        |  15 +-
 ovn/controller/lflow.c          |  41 +-
 ovn/controller/lflow.h          |   2 +
 ovn/controller/lport.c          |  26 ++
 ovn/controller/lport.h          |   5 +
 ovn/controller/ovn-controller.c |   6 +
 ovn/lib/ovn-util.c              |   1 +
 ovn/northd/ovn-northd.8.xml     |  82 +++-
 ovn/northd/ovn-northd.c         | 194 ++++++--
 ovn/ovn-architecture.7.xml      | 226 +++++++++
 ovn/ovn-nb.xml                  |  76 +++
 tests/ovn.at                    | 803 +++++++++++++++++++++++++++++++-
 12 files changed, 1429 insertions(+), 48 deletions(-)


More information about the dev mailing list