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 [Chassis/Fan] #3706

Merged
merged 2 commits into from
Nov 7, 2019

Conversation

mudsut4ke
Copy link
Contributor

- What I did

  • Implement part of the Chassis and Fan related APIs.

  • Chassis APIs

    • get_base_mac()
    • get_serial_number()
    • get_serial_number()
    • get_system_eeprom_info()
    • get_reboot_cause()
  • Fan APIs

    • get_direction()
    • get_speed()
    • get_target_speed()
    • get_speed_tolerance()
    • set_speed()
    • set_status_led()
    • get_target_speed()
  • Fan APIs base on Device API

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

- How I did it

  1. Add a python built package named sonic_platform_api that included part of Chassis and Fan API
  2. Place the package under sonic-platform-modules-cel
  3. Add rule to make python wheel package and install it in pmon docker

- How to verify it

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

@lguohan lguohan merged commit 65fc916 into sonic-net:master Nov 7, 2019
zhenggen-xu pushed a commit to zhenggen-xu/sonic-buildimage that referenced this pull request Jan 10, 2020
…onic-net#3706)

Implement part of the Chassis and Fan related APIs.

- Chassis APIs

get_base_mac()
get_serial_number()
get_serial_number()
get_system_eeprom_info()
get_reboot_cause()

- Fan APIs

get_direction()
get_speed()
get_target_speed()
get_speed_tolerance()
set_speed()
set_status_led()
get_target_speed()

- Fan APIs base on Device API

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

Signed-off-by: Wirut Getbamrung [email protected]
@mudsut4ke mudsut4ke deleted the master-silverstone-api1 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