Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6f3282e authored by Petr Machata's avatar Petr Machata Committed by David S. Miller
Browse files

selftests: forwarding: mirror_gre_vlan_bridge_1q: Test final config



After the final change reestablishes the original configuration, make
sure the traffic flows again as it should.

Signed-off-by: default avatarPetr Machata <petrm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b996078e
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -91,12 +91,13 @@ test_span_gre_forbidden()
	# Now forbid the VLAN at the bridge and see it fail.
	# Now forbid the VLAN at the bridge and see it fail.
	bridge vlan del dev br1 vid 555 self
	bridge vlan del dev br1 vid 555 self
	sleep 1
	sleep 1

	fail_test_span_gre_dir $tundev ingress
	fail_test_span_gre_dir $tundev ingress
	mirror_uninstall $swp1 ingress


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

	mirror_uninstall $swp1 ingress


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