selftests: forwarding: Add a test for VXLAN symmetric routing
authorIdo Schimmel <idosch@mellanox.com>
Mon, 21 Jan 2019 13:22:54 +0000 (13:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 04:40:35 +0000 (20:40 -0800)
commit438a4f5665b236f612841e2dabb1bc8e34b389c1
tree30632f677e33777d7d0191938d5b23eee3b082f5
parentca5ba1cbc9d230fe2222a324aca069eab7e764ba
selftests: forwarding: Add a test for VXLAN symmetric routing

In a similar fashion to the asymmetric test, add a test for symmetric
routing. 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.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/vxlan_symmetric.sh [new file with mode: 0755]