Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] selftests: forwarding: Add tests for VXLAN routing
@ 2019-01-21 13:22 Ido Schimmel
  2019-01-21 13:22 ` [PATCH net-next 1/4] selftests: forwarding: Add a test for VXLAN asymmetric routing Ido Schimmel
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ido Schimmel @ 2019-01-21 13:22 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: davem@davemloft.net, roopa@cumulusnetworks.com, mlxsw,
	Ido Schimmel

VXLAN routing allows hosts in different overlay networks (i.e.,
different VNIs) to communicate with one another.

Two popular routing models are asymmetric and symmetric routing.

In asymmetric routing the ingress VTEP routes the packet into the
correct VXLAN tunnel, whereas the egress VTEP only bridges the packet to
the correct host. Therefore, packets in different directions use
different VNIs - the target VNI.

In symmetric routing both the ingress and egress VTEPs perform routing
in the overlay network into / from the VXLAN tunnel. Packets in
different directions use the same VNI - the L3 VNI. Different tenants
(VRFs) use different L3 VNIs.

Patch #1 adds a test for asymmetric routing. Patches #2-#3 reuse the
topology and add test cases for ARP decapsulation and suppression.

Patch #4 adds a test for symmetric routing.

Ido Schimmel (4):
  selftests: forwarding: Add a test for VXLAN asymmetric routing
  selftests: forwarding: Add a test case for ARP decapsulation
  selftests: forwarding: Add a test case for ARP suppression
  selftests: forwarding: Add a test for VXLAN symmetric routing

 .../net/forwarding/vxlan_asymmetric.sh        | 567 ++++++++++++++++++
 .../net/forwarding/vxlan_symmetric.sh         | 551 +++++++++++++++++
 2 files changed, 1118 insertions(+)
 create mode 100755 tools/testing/selftests/net/forwarding/vxlan_asymmetric.sh
 create mode 100755 tools/testing/selftests/net/forwarding/vxlan_symmetric.sh

-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-23  4:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 13:22 [PATCH net-next 0/4] selftests: forwarding: Add tests for VXLAN routing Ido Schimmel
2019-01-21 13:22 ` [PATCH net-next 1/4] selftests: forwarding: Add a test for VXLAN asymmetric routing Ido Schimmel
2019-01-21 13:22 ` [PATCH net-next 2/4] selftests: forwarding: Add a test case for ARP decapsulation Ido Schimmel
2019-01-21 13:22 ` [PATCH net-next 4/4] selftests: forwarding: Add a test for VXLAN symmetric routing Ido Schimmel
2019-01-21 13:22 ` [PATCH net-next 3/4] selftests: forwarding: Add a test case for ARP suppression Ido Schimmel
2019-01-23  4:41 ` [PATCH net-next 0/4] selftests: forwarding: Add tests for VXLAN routing David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox