Skip to content

Commit

Permalink
[swss] Adding bgp container as dependent of swss (sonic-net#11000)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ndancejic authored Jul 29, 2022
1 parent 8d37dd7 commit 8f6b568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/swss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f6b568

Please sign in to comment.