Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warmboot infra for testing with a sonic neighbor (sonic-net#7961)
* Add initial framework for testing warm reboot with SONiC neighbors Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Add support for choosing between Arista and Sonic implementation based on neighbor type Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Include timestamps in log output for easier time comparisons from log Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Bug fixes for when there's no port channel flaps Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Update SONiC warm reboot test case Handle multiple port channel interfaces, update LACP PDU timing collection code to current version, clean up imports a bit. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * fixup! Update SONiC warm reboot test case Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Fix some precommit errors Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Add return in case of attempts exceeded Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Reduce to 5 attempts. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Fix pre-commit checks Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Fix more precommit issues Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Fail the warmboot test if there's a port channel flap for SONiC neighbor If testing with a SONiC neighbor, fail the warmboot test if there is a port channel flap. This is in preparation for the teamd retry count feature. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Implement verify_neigh_lag_no_flap This is used on actual hardware warm-reboot tests. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Remove unused import Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Remove unused log message, and add log when failing to get the output for a command Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Remove unused variable Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Add retry count flag for the warm-reboot command on supported images. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> --------- Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
- Loading branch information