[ovs-dev] [PATCH v5 0/3] Use VLANs for VLAN packets redirected to a gateway chassis

vkommadi at redhat.com vkommadi at redhat.com
Thu Jun 7 09:29:46 UTC 2018

From: Venkata Anil <vkommadi at redhat.com>

This patch avoids tunneling and instead uses source tenant vlan network
across hypervisors for traffic from vlan network on local hypervisor
towards gateway hypervisor hosting redirect chassiss port.

On the local hypervisor, when the packet enters logical router ingress
pipeline from tenant vlan network, router will set REGBIT_NAT_REDIRECT
and redirect the packet to gateway hypervisor, which is hosting the
chassis redirect port, using tenant vlan network.
Packet travelling across hypervisors will have source vlan tag and
distributed gateway port MAC as destination MAC (other packet data

Gateway hypervisor will check the vlan tag and destination MAC and
resubmit it to router logical ingress pipeline for routing and finding 
the logical output port(i.e it treats this packet as coming from the 
local patch port connected to tenant vlan network for routing).

No changes done for return path as return path to source hypervisor
always uses tenant vlan networks.

* Rebased
* New patch 3 for Documentation(no changes in other patches)

* Rebased
* Splitting patch into patch series. Entire patch of v3 became patch 1
  of this series.
* Updated flow in gateway chassis to check gateway port MAC address
  (in patch 1)
* New patch 2 for ARP/gARP of gateway port through router internal ports

Venkata Anil (3):
  Avoid tunneling for VLAN packets redirected to a gateway chassis
  Send gateway port ARP through router internal ports
  Document the flows for redirecting VLAN packets

 ovn/controller/bfd.c            |   3 +-
 ovn/controller/binding.c        |  10 +-
 ovn/controller/ovn-controller.c |   3 +
 ovn/controller/ovn-controller.h |  17 ++-
 ovn/controller/physical.c       | 121 ++++++++++++++++-
 ovn/controller/pinctrl.c        |  57 +++++++-
 ovn/lib/logical-fields.c        |   4 +
 ovn/lib/logical-fields.h        |   2 +
 ovn/northd/ovn-northd.8.xml     |  46 +++++++
 ovn/northd/ovn-northd.c         |  92 +++++++++++++
 ovn/ovn-architecture.7.xml      |  26 +++-
 tests/ovn.at                    | 285 +++++++++++++++++++++++++++++++++++++++-
 12 files changed, 650 insertions(+), 16 deletions(-)


More information about the dev mailing list