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

[action] [PR:3232] Add a check if OID exists before setting Host Tx Ready Signal Enable (#3232) #3243

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

mssonicbld
Copy link
Collaborator

  • What I did
    I added a query before setting host tx ready - must check that Oid exists before setting attribute to SAI.

  • Why I did it
    When we do dynamic port breakout to a Fw-control port, portsorch receives a notification that something was deleted in TRANSCEIVER_INFO table from State DB, and tries to set HOST_TX_READY_SIGNAL_ENABLE attribute to false for the deleted OID.
    The issue is the Oid is already deleted and we receive an error from SAI.

  • How I verified it
    Run DPB on the switch

…onic-net#3232)

- What I did
I added a query before setting host tx ready - must check that Oid exists before setting attribute to SAI.

- Why I did it
When we do dynamic port breakout to a Fw-control port, portsorch receives a notification that something was deleted in TRANSCEIVER_INFO table from State DB, and tries to set HOST_TX_READY_SIGNAL_ENABLE attribute to false for the deleted OID.
The issue is the Oid is already deleted and we receive an error from SAI.

- How I verified it
Run DPB on the switch
@mssonicbld
Copy link
Collaborator Author

Original PR: #3232

@mssonicbld mssonicbld merged commit 51a5b51 into sonic-net:202405 Jul 25, 2024
14 of 16 checks passed
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