[swss] Adding bgp container as dependent of swss (#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>
This commit is contained in:
parent
f6ed142456
commit
32fb4c7772
@ -9,7 +9,7 @@ LOCKFILE="/tmp/swss-syncd-lock$DEV"
|
||||
NAMESPACE_PREFIX="asic"
|
||||
ETC_SONIC_PATH="/etc/sonic/"
|
||||
|
||||
DEPENDENT="radv"
|
||||
DEPENDENT="radv bgp"
|
||||
MULTI_INST_DEPENDENT="teamd"
|
||||
|
||||
. /usr/local/bin/asic_status.sh
|
||||
|
Reference in New Issue
Block a user