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

[sonic-xcvrd] sonic-xcvrd enhancement #19

Merged
merged 1 commit into from
Oct 22, 2018
Merged

[sonic-xcvrd] sonic-xcvrd enhancement #19

merged 1 commit into from
Oct 22, 2018

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented Oct 21, 2018

Enhanced xcvrd with following modification:

  1. get hwsku from DB instead from minigraph, to avoid failure in the case that no minigraph exist.

  2. 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

@jleveque jleveque merged commit bc23ab0 into sonic-net:master 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
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.

2 participants