Skip to content

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

Merged
lguohan merged 2 commits intosonic-net:masterfrom
mudsut4ke:master-silverstone-psu-api
Dec 5, 2019
Merged

[platform/device] - Implement Silverstone platform API [PSU]#3784
lguohan merged 2 commits intosonic-net:masterfrom
mudsut4ke:master-silverstone-psu-api

Conversation

@mudsut4ke
Copy link
Copy Markdown
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 wgetbumr@celestica.com

@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