Start BGP after interfaces-config.service (#15312)

Why I did it
Cherry-pick of #11827

This is to fix issue: [201811->202012] During warm recovery, TOR did not announce Loopback, VLAN route after upgrade

Suspected cause: 202012 does not have system dependency for bgp service to start after interfaces-config.service.

This opens a window for race condition: bgp service completing before interfaces are initialized.
BGP will miss announcing some routes if the interfaces are not ready.
This commit is contained in:
Vaibhav Hemant Dixit 2023-06-05 14:15:03 -07:00 committed by GitHub
parent 1b106a3355
commit 2a8d6912ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ Requires=updategraph.service
After=updategraph.service
BindsTo=sonic.target
After=sonic.target
After=interfaces-config.service
Before=ntp-config.service
StartLimitIntervalSec=1200
StartLimitBurst=3