Skip to content

[platform/device] - Implement Silverstone platform API [Chassis/Fan]#3706

Merged
lguohan merged 2 commits intosonic-net:masterfrom
mudsut4ke:master-silverstone-api1
Nov 7, 2019
Merged

[platform/device] - Implement Silverstone platform API [Chassis/Fan]#3706
lguohan merged 2 commits intosonic-net:masterfrom
mudsut4ke:master-silverstone-api1

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 wgetbumr@celestica.com

@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 wgetbumr@celestica.com
@mudsut4ke mudsut4ke deleted the master-silverstone-api1 branch April 16, 2020 04:25
mssonicbld added a commit that referenced this pull request Jun 22, 2025
…lly (#23003)

#### Why I did it
src/sonic-swss
```
* bc1a9bce - (HEAD -> 202505, origin/202505) Merge pull request #3706 from prabhataravind/paravind/202505 (4 days ago) [Jianquan Ye]
|\ 
| failure_prs.log skip_prs.log d89b4801 - Add more mock tests for coverage (5 days ago) [Prabhat Aravind]
| failure_prs.log skip_prs.log a181b5d9 - Orchagent SAI error handling improvements (5 days ago) [Prabhat Aravind]
|/ 
* 50048e78 - Changes to unblock swss pipeline tests (#3708) (5 days ago) [prabhataravind]
* 7e15cce2 - Install symlink to Python 3 to work around AzP diff coverage issue (#3710) (6 days ago) [mssonicbld]
* fd336545 - [ci]: Skip publishing of asan vstest summary (#3711) (6 days ago) [mssonicbld]
* 1ea80065 - [build] Support optionally using other container registries instead of DockerHub (#3709) (6 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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