sonic-buildimage/dockers/docker-orchagent
Lawrence Lee 2765e8020f
[tph]: Detect LAG flaps from APPL_DB (#16879) (#17156)
Why I did it
A race condition exists while the TPH is processing a netlink message - if a second netlink message arrives during processing it will be missed since TPH is not listening for other messages.
Another bug was found where TPH was unnecessarily restarting since it was checking admin status instead of operational status of portchannels.

How I did it
Subscribe to APPL_DB for updates on LAG operational state
Track currently sniffed interfaces

How to verify it
Send tunnel packets with destination IP of an unresolved neighbor, verify that ping commands are run
Shut down a portchannel interface, verify that sniffer does not restart
Send tunnel packets, verify ping commands are still run
Bring up portchannel interface, verify that sniffer restarts

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2023-11-15 11:02:10 -08:00
..
base_image_files [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
arp_update.conf [docker-orchagent]: use service dependency in supervisord to start services 2020-05-22 11:01:28 -07:00
buffermgrd.sh [Reclaim buffer] Common infrastructure update for reclaiming buffer (#9133) 2021-11-24 15:00:23 +02:00
critical_processes.j2 [fabric] Disable unnecessary processes in swss and the orchagent-portsyncd dependency for fabric asic (#5569) 2021-06-09 10:53:47 -07:00
docker-init.j2 [202205][chassis]fix to use the correct table in chassis_state_db (#12992) 2022-12-08 11:36:45 -08:00
Dockerfile.j2 [202205] Remove apt package lists and make macro to clean up apt and python cache (#14377) 2023-03-22 14:51:25 -07:00
enable_counters.py [counter] Fix issue: non default counters will be delayed forever after fastboot (#10413) 2022-03-31 15:23:57 +03:00
ipinip.json.j2 [IPinIP] Add Loopback2 interface, change dscp mode to uniform (#7234) 2021-04-07 09:58:12 -07:00
ndppd.conf [swss]: Wait for vlan intf to start ndppd (#10119) 2022-03-02 16:23:56 -08:00
ndppd.conf.j2 [docker-orchagent]: Increase ndppd kernel poll interval (#7456) 2021-04-30 16:30:30 -07:00
orchagent.sh [202205]Change orchagent pop batch size from 8192 to 1024 (#16126) 2023-08-14 17:54:39 -07:00
ports.json.j2 [cfggen] Make Jinja2 Template Python 3 Compatible 2020-09-30 07:07:43 -07:00
supervisord.conf.j2 [swss]: Run tunnel_pkt_handler on dualtor only (#11627) 2022-08-11 16:19:37 +00:00
switch.json.j2 Add EPMS and MgmtTsToR (#10478) 2022-04-07 21:49:42 -07:00
swssconfig.sh [Mellanox][VXLAN] add params to vxlan.json file in order to configure VXLAN src port range feature (#9658) 2022-01-31 15:57:30 +02:00
tunnel_packet_handler.conf [swss]: Run tunnel_pkt_handler on dualtor only (#11627) 2022-08-11 16:19:37 +00:00
tunnel_packet_handler.py [tph]: Detect LAG flaps from APPL_DB (#16879) (#17156) 2023-11-15 11:02:10 -08:00
vlan_vars.j2 [swss] Reduce Calls to SONiC Cfggen (#5177) 2020-08-17 15:47:52 -07:00
vxlan.json.j2 [Mellanox][VXLAN] add params to vxlan.json file in order to configure VXLAN src port range feature (#9658) 2022-01-31 15:57:30 +02:00
wait_for_link.sh.j2 [swss]: Wait for vlan intf to start ndppd (#10119) 2022-03-02 16:23:56 -08:00