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
Details if related
This is a cherry-pick of https://github.com/sonic-net/sonic-swss/pull/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 Details if related