[sonic-xcvrd] sonic-xcvrd enhancement#19
Merged
jleveque merged 1 commit intosonic-net:masterfrom Oct 22, 2018
keboliu:xcvrd-enhancement
Merged
[sonic-xcvrd] sonic-xcvrd enhancement#19jleveque merged 1 commit intosonic-net:masterfrom keboliu:xcvrd-enhancement
jleveque merged 1 commit intosonic-net:masterfrom
keboliu:xcvrd-enhancement
Conversation
…none presenct SFP eeprom
jleveque
approved these changes
Oct 22, 2018
vdahiya12
pushed a commit
to vdahiya12/sonic-platform-daemons
that referenced
this pull request
Apr 4, 2022
* Changes of SONiC new platform API based on latest design * Moved get_change_event from DeviceBase to ChassisBase and ModuleBase * chassis_base.py : added get_change_event device_base.py : fixed typo fan_base.py : defined DEVICE_TYPE module_base.py : defined DEVICE_TYPE, fixed typo psu_base.py : defined DEVICE_TYPE sfp_base.py : defined DEVICE_TYPE, fixed typo, modified descriptions of set_power_override thermal_base.py : defined DEVICE_TYPE * module_base.py : modified get_change_event to return devices in nested dict * Added dom related status support for SFP, including temperature, voltage, TX bias, TX power and RX power * 1. Per channel return for TX bias, TX power and RX power in sfp_base.py. 2. Support system EEPROM and serial number in chassis_base.py. * 1. Added SYS EEPROM functions to module_base.py. 2. Fixed typos. 3. Merge get_watchdog to return self._watchdog in chassis_base * 1. Fixed various typos. 2. Changed get_ampere to get_current, get_watt to get_power in psu_base.py * Changed get_system_eeprom return to use type code defined in ONIE TlvInfo EEPROM as the keys
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhanced xcvrd with following modification:
get hwsku from DB instead from minigraph, to avoid failure in the case that no minigraph exist.
before access the SFP eeprom, determine the presence the SFP, to avoid error log from kernel when accessing a non-existence SFP eeprom on some platform