OSDN Git Service

selftests: forwarding: Test changes in mirror-to-gretap
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Apr 2018 23:22:25 +0000 (01:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:57:50 +0000 (14:57 -0400)
commit45315673e0c5656498e8bdeec6d6db170cabc4d3
tree5057de20e907a10aa86681fded7436a04c008f26
parentff68e6fb048ea5bb3ef8baef256e891e8d0299ee
selftests: forwarding: Test changes in mirror-to-gretap

These tests set up mirroring in a situation that the configuration is
incorrect, i.e. mirrored packets, if any, are not supposed to reach
destination tunnel device. Then the configuration is rectified and
mirroring is checked to have started working.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_gre_changes.sh [new file with mode: 0755]