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

Independent Module - sonic-buildimage code to support port SI configuration per speed #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tshalvi
Copy link
Owner

@tshalvi tshalvi commented Oct 11, 2023

Why I did it

In order to enable module configuration by SONiC, it's necessary to ignore the platform code that prevents writing to the EEPROM if the platform supports this functionality and the module needs to be configured by the NOS.

Work item tracking
  • Microsoft ADO (number only):

How I did it

I used the 'TRANSCEIVER_MODULES_MGMT' table in STATE_DB to determine whether the module needs to be configured by the NOS. Additionally, I checked the 'sai.profile' file to verify if the platform supports the required functionality.

How to verify it

You can verify this by ensuring that when SONiC attempts to configure an active CMIS module, you do not encounter a 'write limited bytes' exception.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant