Skip to content

[CPO] Add ChassisBase hook for ELSFP presence - #733

Open
bgallagher-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:elsfp-change-event
Open

[CPO] Add ChassisBase hook for ELSFP presence#733
bgallagher-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:elsfp-change-event

Conversation

@bgallagher-nexthop

@bgallagher-nexthop bgallagher-nexthop commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

As described in the xcvrd CPO HLD (see section 7.3.2.2 Presence Change Event Handling), a new hook to notify xcvrd of ELSFP insertion/removal events is required for CPO hardware.

Motivation and Context

In xcvrd, there will be a dedicated CPO task to react to ELSFP insertion and removal. It cannot re-use the existing get_change_event API since that would cause events for traditional pluggable ports to be consumed by the CPO task and vice-versa.

How Has This Been Tested?

Relying on unit-tests. This PR does not add any meaningful logic, just an unimplemented stub for vendors to implement.

Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

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

@azure-pipelines

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

@bgallagher-nexthop
bgallagher-nexthop marked this pull request as ready for review August 6, 2026 18:43
@azure-pipelines

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

Comment on lines +37 to +38
[chassis.get_elsfp_change_event, [], {}],
[chassis.get_elsfp_change_event, [1000], {}],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to add get_change_event here as well?

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