[teamd] Stop teamd after stopping swss in fast-reboot (#11210)

- Why I did it
To optimize fast-reboot. Teamd can be stopped after bgp is stopped and after swss is stopped because the last LACP packet can be sent still since syncd is still running. Saves 15 sec on shutdown.

- How I did it
Defined in the manifest for teamd to be stopped after swss

- How to verify it
Run it on the switch.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
This commit is contained in:
Stepan Blyshchak
2022-07-14 09:30:00 +03:00
committed by GitHub
parent dc7c9d82c8
commit a86f59eda8

View File

@@ -19,7 +19,8 @@ $(DOCKER_TEAMD)_VERSION = 1.0.0
$(DOCKER_TEAMD)_PACKAGE_NAME = teamd
$(DOCKER_TEAMD)_WARM_SHUTDOWN_BEFORE = syncd
$(DOCKER_TEAMD)_WARM_SHUTDOWN_AFTER = swss
$(DOCKER_TEAMD)_FAST_SHUTDOWN_BEFORE = swss
$(DOCKER_TEAMD)_FAST_SHUTDOWN_BEFORE = syncd
$(DOCKER_TEAMD)_FAST_SHUTDOWN_AFTER = swss
SONIC_DOCKER_IMAGES += $(DOCKER_TEAMD)
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TEAMD)