forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic-platform-common] Add new platform API for SONiC Physical MIB E…
…xtension feature (sonic-net#134) Why I did this? In order to implement physical entity mib object entPhysicalParentRelPos, entPhysicalContainedIn and entPhysicalIsFRU, new platform API is required to collect information from each vendor. What I did? 1. Add DeviceBase.is_replaceable and DeviceBase.get_position_in_parent 2. Add PsuBase.get_num_thermals, PsuBase.get_all_thermals, PsuBase.get_thermal 3. Add SfpBase.get_num_thermals, SfpBase.get_all_thermals, SfpBase.get_thermal
- Loading branch information
1 parent
19b8545
commit 403747a
Showing
3 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters