Commit 81419b8
authored
upgrade ceos to version 4.25.5.1M, fix the issue of arista endless lopp (#4228)
Description of PR
Summary:
Fixes # (issue)
Type of change
Bug fix
Testbed and Framework(new/improvement)
Approach
What is the motivation for this PR?
cEOS containers' mgmt-ip occasionally unavaillable, upgrade cEOS image version will fix that
cEOS terminal behavior slightly different from vEOS, enhance arista.py to avoid endless loop
How did you do it?
upgrade cEOS image version
break loop if ssh connect returns merely an 'exit', as for other commands who relies on the return e.g. 'show interfaces po1 | json', 'exit' won't appear in input_buffer, so the change won't influence it.
How did you verify/test it?
Run platform_tests/test_advanced_reboot.py test on physical testbed and it didn't stuck again.
Tried run command 'show interfaces po1 | json', it's not influenced.
Co-authored-by: Jianquan Ye <[email protected]>1 parent e264d51 commit 81419b8
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
0 commit comments