selftests: forwarding: mirror_gre_bridge_1q_lag: Enable forwarding
This test relies on routing in the primary traffic path, but neglects to enable forwarding. Do so. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a99dd629e8
commit
ba22b65edc
@ -190,6 +190,8 @@ setup_prepare()
|
|||||||
h4_create
|
h4_create
|
||||||
switch_create
|
switch_create
|
||||||
|
|
||||||
|
forwarding_enable
|
||||||
|
|
||||||
trap_install $h3 ingress
|
trap_install $h3 ingress
|
||||||
trap_install $h4 ingress
|
trap_install $h4 ingress
|
||||||
}
|
}
|
||||||
@ -201,6 +203,8 @@ cleanup()
|
|||||||
trap_uninstall $h4 ingress
|
trap_uninstall $h4 ingress
|
||||||
trap_uninstall $h3 ingress
|
trap_uninstall $h3 ingress
|
||||||
|
|
||||||
|
forwarding_restore
|
||||||
|
|
||||||
switch_destroy
|
switch_destroy
|
||||||
h4_destroy
|
h4_destroy
|
||||||
h3_destroy
|
h3_destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user