This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/files
mssonicbld f7f2e654c4
[chassis] Chassis DB cleanup when asic comes up (#16213) (#16378)
* [chassis]Chassis DB cleanup when asic comes up

Cleanup the entries from the following tables in chassis app db in
redis_chassis server in the supervisor
(1) SYSTEM_NEIGH
(2) SYSTEM_INTERFACE
(3) SYSTEM_LAG_MEMBER_TABLE
(4) SYSTEM_LAG_TABLE
As part of the clean up only those entries created by the asic that
is coming up are deleted. The LAG IDs used by the asics are also
de-allocated from SYSTEM_LAG_ID_TABLE and SYSTEM_LAG_ID_SET

- Added check to run the chassis db clean up only for voq switches.

Signed-off-by: vedganes <veda.ganesan@nokia.com>
Co-authored-by: vganesan-nokia <67648637+vganesan-nokia@users.noreply.github.com>
2023-09-01 16:20:31 -07:00
..
Aboot allow docker_inram to kernel cmd list (#15374) 2023-06-15 14:33:54 +08:00
apt [Build] Support j2 template for debian sources (#12557) (#13185) 2022-12-30 09:47:33 +08:00
build/versions [ci/build]: Upgrade SONiC package versions (#16214) 2023-08-28 09:29:43 -07:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) (#13296) 2023-01-09 10:28:03 -08:00
build_templates Fix CONFIG_DB_INITIALIZED flag check logic and set/reset flag for warmboot (#15685) (#16098) 2023-08-11 08:38:59 -07:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2019-12-10 08:16:56 -08:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-22 04:33:44 +08:00
image_config Fix issue: systemctl daemon-reload would sporadically cause udev handler fail (#15253) (#15959) 2023-08-22 09:54:56 -07:00
initramfs-tools [202205] Implement zram compression for docker in RAM (#15137) 2023-06-02 08:36:18 -07:00
scripts [chassis] Chassis DB cleanup when asic comes up (#16213) (#16378) 2023-09-01 16:20:31 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00