Skip to content

[Minpack]Support API2.0#9112

Closed
jostar-yang wants to merge 3 commits intosonic-net:masterfrom
jostar-yang:minipack_20211028_api2
Closed

[Minpack]Support API2.0#9112
jostar-yang wants to merge 3 commits intosonic-net:masterfrom
jostar-yang:minipack_20211028_api2

Conversation

@jostar-yang
Copy link
Contributor

Why I did it

Support API2.0

How I did it

Implement related code.

How to verify it

Test show cmd,

show platform psustatus

PSU Model Serial Voltage (V) Current (A) Power (W) Status LED


PSU 1 PFE1500-12-054NACS4 42025749642010001 0.00 0.00 0.00 NOT OK red
PSU 2 PFE1500-12-054NACS4 42025749642010004 12.02 0.00 0.00 NOT OK red
PSU 3 PFE1500-12-054NACS4 42025758312010030 0.00 0.00 0.00 NOT OK red
PSU 4 PFE1500-12-054NACS4 42025749642010000 12.02 27.25 328000.00 OK green

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@jostar-yang jostar-yang requested a review from lguohan as a code owner October 29, 2021 03:34
@lgtm-com
Copy link

lgtm-com bot commented Oct 29, 2021

This pull request introduces 17 alerts and fixes 14 when merging 80eccc6 into 51c9c98 - view on LGTM.com

new alerts:

  • 16 for Unused import
  • 1 for Encoding error

fixed alerts:

  • 14 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Oct 29, 2021

This pull request introduces 4 alerts and fixes 16 when merging 08168dc into 51c9c98 - view on LGTM.com

new alerts:

  • 3 for Unused import
  • 1 for Encoding error

fixed alerts:

  • 16 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Oct 29, 2021

This pull request introduces 1 alert and fixes 16 when merging 3abd4c7 into 51c9c98 - view on LGTM.com

new alerts:

  • 1 for Unused import

fixed alerts:

  • 16 for Unused import

@jostar-yang jostar-yang changed the title Support API2.0 [Minpack]Support API2.0 Nov 1, 2021
@seanwu-ec seanwu-ec mentioned this pull request Dec 28, 2021
5 tasks
@jostar-yang
Copy link
Contributor Author

Due to file conflict and need to fix some py file. Fix drv fail in kernel5.10.
So close the PR and resend new PR (#9776).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant