selftests: bonding: up/down delay w/ slave link flapping
authorJonathan Toppins <jtoppins@redhat.com>
Tue, 22 Nov 2022 20:25:04 +0000 (15:25 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 24 Nov 2022 04:14:48 +0000 (20:14 -0800)
commitd43eff0b85ae28dd2b95dab18a3e7dcb813d7bc1
treebb6b3fc70b3db49261459279b21447655731cec0
parent64a8f8f7127da228d59a39e2c5e75f86590f90b4
selftests: bonding: up/down delay w/ slave link flapping

Verify when a bond is configured with {up,down}delay and the link state
of slave members flaps if there are no remaining members up the bond
should immediately select a member to bring up. (from bonding.txt
section 13.1 paragraph 4)

Suggested-by: Liang Li <liali@redhat.com>
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/bonding/Makefile
tools/testing/selftests/drivers/net/bonding/lag_lib.sh
tools/testing/selftests/drivers/net/bonding/mode-1-recovery-updelay.sh [new file with mode: 0755]
tools/testing/selftests/drivers/net/bonding/mode-2-recovery-updelay.sh [new file with mode: 0755]
tools/testing/selftests/drivers/net/bonding/settings