Skip to content

Commit

Permalink
selftests: forwarding: mirror_gre_vlan_bridge_1q: Test final config
Browse files Browse the repository at this point in the history
After the final change reestablishes the original configuration, make
sure the traffic flows again as it should.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Petr Machata authored and David S. Miller committed Jun 1, 2018
1 parent b996078 commit a6f3282
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@ test_span_gre_forbidden()
# Now forbid the VLAN at the bridge and see it fail.
bridge vlan del dev br1 vid 555 self
sleep 1

fail_test_span_gre_dir $tundev ingress
mirror_uninstall $swp1 ingress

bridge vlan add dev br1 vid 555 self
sleep 1
quick_test_span_gre_dir $tundev ingress

mirror_uninstall $swp1 ingress

log_test "$what: vlan forbidden at a bridge ($tcflags)"
}
Expand Down

0 comments on commit a6f3282

Please sign in to comment.