[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190121132231.25507-1-idosch@mellanox.com>
Date: Mon, 21 Jan 2019 13:22:51 +0000
From: Ido Schimmel <idosch@...lanox.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"roopa@...ulusnetworks.com" <roopa@...ulusnetworks.com>,
mlxsw <mlxsw@...lanox.com>, Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/4] selftests: forwarding: Add tests for VXLAN
routing
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
Powered by blists - more mailing lists