]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d7ac52eb8af1da1b251ca711377dbc4d69a83dc
tree30632f677e33777d7d0191938d5b23eee3b082f5
parent4bdb265c6c509e3dc1091427777277eaa45a490a
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]