sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
23 stars 152 forks source link

[xcvrd] Add to support MEDIA_LANE_SPEED_KEY in media_settings.json #528

Open jcsteven opened 2 months ago

jcsteven commented 2 months ago

Description

 This feature used to support to the media_settings.sjon with MEDIA_LANE_SPEED_KEY.

Motivation and Context

To configure the transceiver's pre-emphasis message based on the transceiver's media_type and Lane_speed information, use MEDIA_LANE_SPEED_KEY in media_settings.json is for this purpose

How Has This Been Tested?

To test the feature in "sonic-buildimage" build folder.

To get into sonic-docker build environment

To install the following deb packages

To run the pytset for test_xcvrd.py as:

Test log Information

Please refer to to test log before check-in-code and after check-in code as logs, it shows all adding testing cases are PASS. pytest-after-checed-in-code-log.txt pytest-before-checed-in-code-log.txt

linux-foundation-easycla[bot] commented 2 months ago

CLA Missing ID CLA Not Signed