-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AS9726-32D] support show system-health #8346
[AS9726-32D] support show system-health #8346
Conversation
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
- Make it compatible with python3, change python2 print Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
This pull request introduces 1 alert when merging 2ec7542 into 1bc3fdb - view on LGTM.com new alerts:
|
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
This pull request introduces 1 alert when merging cf4aac3 into 302f889 - view on LGTM.com new alerts:
|
I don't know how come LGTM got this alert. namedtuple DOES have 'defaults' argument, and it works well. https://docs.python.org/3.7/library/collections.html#collections.namedtuple |
Hi @lguohan, when you have a moment, would you tell me what changes I need to make in order to get this PR reviewed and merged? I appreciate it. |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
This pull request introduces 1 alert when merging d80c699 into cd0d407 - view on LGTM.com new alerts:
|
* Support lpmode control by CPLD. * PSU status add led status. Signed-off-by: Sean Wu <sean_wu@edge-core.com>
This pull request introduces 2 alerts when merging fa571f6 into 689c101 - view on LGTM.com new alerts:
|
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
Signed-off-by: Sean Wu <sean_wu@edge-core.com>
This pull request introduces 1 alert when merging b635441 into 327ad41 - view on LGTM.com new alerts:
|
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -1,5 +1,5 @@ | |||
{ | |||
"skip_ledd": true, | |||
"skip_thermalctld": true | |||
"skip_pcied": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any specific reason to skip the pcied?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no pcie devices, so we skip.
1. Fix wrong get_status_led() 2. Fix wrong get_status() when psu power good failed 3. Fix wrong get_presence() when psu is not presence
sync code to the new PR#14237 due to the code conflict. |
Why I did it
support
show system-health
on AS9726-32D model.How I did it
Give a SystemHealth config json, ensure all required systemLED APIs are implemented, Fan, PSU info can be fetched correctly.
How to verify it
Make sure all Hardware checks are passed.
Note : PSU1 wasn't powered on DUT.
Which release branch to backport (provide reason below if selected)
Description for the changelog
[Accton] support show system-health on AS9726-32D
A picture of a cute animal (not mandatory but encouraged)