[Edgecore][AS7726/PDDF] Enhance sonic_platform feature#12993
Closed
jostar-yang wants to merge 23 commits intosonic-net:masterfrom
Closed
[Edgecore][AS7726/PDDF] Enhance sonic_platform feature#12993jostar-yang wants to merge 23 commits intosonic-net:masterfrom
jostar-yang wants to merge 23 commits intosonic-net:masterfrom
Conversation
Signed-off-by: jostar-yang <[email protected]>
7 tasks
|
This pull request introduces 2 alerts when merging 9afd8ce into 7db2725 - view on LGTM.com new alerts:
Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog. |
FuzailBrcm
approved these changes
Dec 8, 2022
Contributor
Author
|
When will this PR be merged? |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Contributor
Author
|
/azpw run Azure.sonic-buildimage |
Collaborator
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
8 tasks
This was referenced Oct 4, 2024
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
We create new PR for this case. So close old PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: jostar-yang [email protected]
Why I did it
How I did it
Add needed code to pddf and sonic_platform.
How to verify it
Test show cmd.
root@sonic:/home/admin# show platform fan
Drawer LED FAN Speed Direction Presence Status Timestamp
Fantray1 green Fantray1_1 52% EXHAUST Present OK 20220922 14:34:28
Fantray1 green Fantray1_2 52% EXHAUST Present OK 20220922 14:34:28
Fantray2 green Fantray2_1 52% EXHAUST Present OK 20220922 14:34:28
Fantray2 green Fantray2_2 52% EXHAUST Present OK 20220922 14:34:28
Fantray3 green Fantray3_1 52% EXHAUST Present OK 20220922 14:34:28
Fantray3 green Fantray3_2 52% EXHAUST Present OK 20220922 14:34:28
Fantray4 green Fantray4_1 52% EXHAUST Present OK 20220922 14:34:28
Fantray4 green Fantray4_2 52% EXHAUST Present OK 20220922 14:34:28
N/A green PSU1_FAN1 37% exhaust Present OK 20220922 14:34:28
N/A green PSU2_FAN1 36% exhaust Present OK 20220922 14:34:28
show platform temp
Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp
MB_RearCenter_temp(0x49) 39.5 80.0 N/A N/A N/A False 20220922 14:34:28
MB_RightCenter_temp(0x4A) 29 80.0 N/A N/A N/A False 20220922 14:34:28
PSU1_TEMP1 29 N/A N/A N/A N/A False 20220922 14:34:28
PSU2_TEMP1 29 N/A N/A N/A N/A False 20220922 14:34:28
Which release branch to backport (provide reason below if selected)
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)