sonic-swss
sonic-swss copied to clipboard
tlm_teamd: Filter portchannel subinterface events from STATE_DB LAG_TABLE
Avoid processing portchannel subinterfaces in teamd
What I did Fixes #11218 : https://github.com/Azure/sonic-buildimage/issues/11218
As per Subinterface HLD, portchannel subinterfaces once provisioned by intfmgrd, will be updated to STATE_DB LAG_TABLE. Teamd subscribes to STATE_DB LAG_TABLE hence it receives portchannel subinterface events though it is not interested in portchannel subinterface events. Fix is to filter subinterface events prior to adding to teamd event queue.
Why I did it Fix for issue #11218 where teamd syslog errors were observed when portchannel subinterfaces were configured on the system.
How I verified it Ensured tlm does not add portchannel subinterface STATE_DB LAG_TABLE events to its event queue thus filtering portchannel subinterface events.
Details if related
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: preetham-singh / name: Preetham (d4ec07c89b1dd6584b6f35e85a1a13c1f74b5de8, b3665fd7081cadb741f07b0ebb590dd71c28f446, d49758f888f36cf36ad6b076929e197e3cce41db)
@preetham-singh , can you please update the title correctly and also better description of the changes. Kindly follow the template and check-mark if the fix is required for any other branch.
/easycla
@judyjoseph pls help review and signoff