selftests: forwarding: Test action VLAN modify
authorDanielle Ratson <danieller@mellanox.com>
Thu, 28 Mar 2019 12:12:21 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 00:20:52 +0000 (17:20 -0700)
commit2fcbc0b15e39019e84863a69c822b3c3103cfd56
tree9722bfafe7448f6aedb79807029452363c883605
parent0637e1f878b5b670485ee0afbd9e22c9cea2ffe0
selftests: forwarding: Test action VLAN modify

Construct a basic topology consisting of two hosts connected using a
VLAN-aware bridge. Put each port in a different VLAN and test that ping
fails.

Add ingress and egress filters with a VLAN modify action and test that
ping passes.

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