]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: forwarding: test for bridge port isolation
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 3 Jul 2018 12:42:44 +0000 (15:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 12:40:02 +0000 (21:40 +0900)
commita14e9fafaa3437a5e73e6ff521d3a351f173799b
tree1645aa540fa5113a9018b9322169de96d49649b3
parent967450c54300fd858b24e044ee960a1133c916a4
selftests: forwarding: test for bridge port isolation

This test checks if the bridge port isolation feature works as expected
by performing ping/ping6 tests between hosts that are isolated (should
not work) and between an isolated and non-isolated hosts (should work).
Same test is performed for flooding from and to isolated and
non-isolated ports.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/bridge_port_isolation.sh [new file with mode: 0755]