]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
test/net: Add script for VXLAN underlay in a VRF
authorAlexis Bauvin <abauvin@scaleway.com>
Mon, 3 Dec 2018 09:54:41 +0000 (10:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2018 22:16:01 +0000 (14:16 -0800)
commit03f1c26b1c56936fa29675b5556c3bb08185585a
tree1956c14b3ddc1281071f667f7afcf49f2aa94091
parentaab8cc3630e325065a70740438dc0a47035fcdc8
test/net: Add script for VXLAN underlay in a VRF

This script tests the support of a VXLAN underlay in a non-default VRF.

It does so by simulating two hypervisors and two VMs, an extended L2
between the VMs with the hypervisors as VTEPs with the underlay in a
VRF, and finally by pinging the two VMs.

It also tests that moving the underlay from a VRF to another works when
down/up the VXLAN interface.

Signed-off-by: Alexis Bauvin <abauvin@scaleway.com>
Reviewed-by: Amine Kherbouche <akherbouche@scaleway.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Tested-by: Amine Kherbouche <akherbouche@scaleway.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_vxlan_under_vrf.sh [new file with mode: 0755]