Skip watchdog reboot for Supervisor in Cisco 8000 distributed chassis#6812
Skip watchdog reboot for Supervisor in Cisco 8000 distributed chassis#6812vperumal wants to merge 1 commit intosonic-net:masterfrom
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
| """ | ||
| duthost = duthosts[enum_rand_one_per_hwsku_hostname] | ||
|
|
||
| if duthost.is_supervisor_node and duthost.facts['platform'] in ['x86_64-8800_rp_o-r0']: |
There was a problem hiding this comment.
@vperumal
Instead of adding a skip here for a specific HW SKU, can this be changed in the Cisco platform code on the handling of "sudo watchdogutil status" to error out or produce no output so that the test is naturally skipped with existing code?
When Cisco is ready to handle it, then you can change your code to respond with proper response and we do not need to change this test code again?
Have you considered this approach instead?
|
Will be closed as image has fix now. |
Description of PR
Temporarily skipping watchdog reboot for Supervisor card in Cisco 8000 distributed chassis. Plan is to add support for it soon.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Temporarily skipping watchdog reboot for Supervisor card in Cisco 8000 distributed chassis. Plan is to add support for it soon.
How did you do it?
Check if dut is a supervisor node and platform is cisco-8000 sup.
How did you verify/test it?
On T2 profile
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation