Skip to content

Add public ELSFP read adapters for Bailly - #763

Open
ArthurMicas wants to merge 5 commits into
sonic-net:masterfrom
ArthurMicas:codex/cpoutil-common
Open

ArthurMicas wants to merge 5 commits into
sonic-net:masterfrom
ArthurMicas:codex/cpoutil-common

Conversation

@ArthurMicas

@ArthurMicas ArthurMicas commented Sep 22, 2026 •

Copy link
Copy Markdown

Description

Expose existing Bailly RLM read methods through the public ELSFP method names used by common cpoutil. The adapters cover module information, status, DOM values, thresholds, and per-lane monitor reads.

The change only calls existing RLM read APIs and translates their returned fields. It does not add EEPROM write logic, new RLM control methods, ELS reset, low-power setters, Tx-disable setters, or per-laser state implementations.

Validation

  • python -m py_compile sonic_platform_base/sonic_xcvr/api/broadcom/bailly.py
  • git diff --check

This PR is the read-API dependency for sonic-net/sonic-utilities#4864.

Signed-off-by: arthur <arthur@micasnetworks.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ArthurMicas ArthurMicas changed the title Add CPO lane speed and ELS control APIs Add CPO ELS low-power and Tx-disable control APIs Sep 22, 2026
@mssonicbld

Copy link
Copy Markdown
Collaborator

Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks!

---Powered by SONiC BuildBot

Signed-off-by: Griffin Gao <griffin@micasnetworks.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Signed-off-by: Griffin Gao <griffin@micasnetworks.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Signed-off-by: arthur <arthur@micasnetworks.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ArthurMicas ArthurMicas changed the title Add CPO ELS low-power and Tx-disable control APIs Add public ELSFP read adapters for Bailly Sep 24, 2026
Signed-off-by: arthur <arthur@micasnetworks.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ArthurMicas
ArthurMicas marked this pull request as ready for review September 24, 2026 16:08
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.

3 participants