[swss] Adding bgp container as dependent of swss (#11168)

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.

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
This commit is contained in:
Nikola Dancejic 2022-07-29 09:37:09 -07:00 committed by GitHub
parent c40435c94c
commit c5a5734242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/bash
DEPENDENT="radv dhcp_relay"
DEPENDENT="radv dhcp_relay bgp"
MULTI_INST_DEPENDENT="teamd"
function debug()