OSDN Git Service

selftests: forwarding: Add a skeleton of vxlan_bridge_1d
authorPetr Machata <petrm@mellanox.com>
Mon, 19 Nov 2018 16:11:14 +0000 (16:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:59:43 +0000 (17:59 -0800)
commitfd64d5a2e383568bb0d6b7b8c619358e68b6718c
treeb8ce388b603af1a081c67abe6a602b5c3fe9f9bf
parentd1038cd0f67e542f2744782f958b95c4909fb63a
selftests: forwarding: Add a skeleton of vxlan_bridge_1d

This skeleton sets up a topology with three VXLAN endpoints: one
"local", possibly offloaded, and two "remote", formed using veth pairs
and likely purely software bridges. The "local" endpoint is connected to
host systems by a VLAN-unaware bridge.

Since VXLAN tunnels must be unique per namespace, each of the "remote"
endpoints is in its own namespace. H3 forms the bridge between the three
domains.

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