Skip to content

Commit a04034c

Browse files
Ndancejicskbarista
authored andcommitted
[swss] Adding bgp container as dependent of swss (sonic-net#11000)
What I did: Added bgp as a dependent of swss Why I did it: bgp container was not restarting on swss crash. When swss crashes, linkmgrd doesn't initate a switchover because it cannot access the default route from orchagent. Bringing down bgp with swss will isolate the ToR, causing linkmgrd to initiate a switchover to the peer ToR avoiding significant packet loss. How I did it: Added bgp to DEPENDENT Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
1 parent f52e144 commit a04034c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/scripts/swss.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LOCKFILE="/tmp/swss-syncd-lock$DEV"
99
NAMESPACE_PREFIX="asic"
1010
ETC_SONIC_PATH="/etc/sonic/"
1111

12-
DEPENDENT="radv"
12+
DEPENDENT="radv bgp"
1313
MULTI_INST_DEPENDENT="teamd"
1414

1515
. /usr/local/bin/asic_status.sh

0 commit comments

Comments
 (0)