Skip to content
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

[platform/device] - Implement Silverstone platform API [PSU] #3784

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

mudsut4ke
Copy link
Contributor

@mudsut4ke mudsut4ke commented Nov 19, 2019

- What I did

  • Implement part of the Chassis and Fan related APIs.

  • Psu APIs

    • get_voltage()
    • get_current()
    • get_power()
    • get_powergood_status()
    • set_status_led()
    • get_status_led()
  • Update Fan APIs to support PSU FAN

    • get_direction()
    • get_speed()
    • get_target_speed()
    • get_speed_tolerance()
    • get_target_speed()
  • PSU APIs base on Device API

    • get_name()
    • get_presence()
    • get_model()
    • get_serial()
    • get_status()

- How I did it

  1. Implement PSU APIs
  2. Update FAN API to support PSU Fans
  3. Add PSU object to Chassis API

- How to verify it

Signed-off-by: Wirut Getbamrung [email protected]

@mudsut4ke mudsut4ke marked this pull request as ready for review November 20, 2019 08:56
@lguohan lguohan merged commit 77b8e74 into sonic-net:master Dec 5, 2019
@mudsut4ke mudsut4ke deleted the master-silverstone-psu-api branch April 16, 2020 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants