[swss] Start Restore Neighbor After SWSS Config (#5451)

SWSS config script restore ARP/FDB/Routes. Restore neighbor script
uses config DB ARP information to restore ARP entries and so needs
to be started after swssconfig exits.

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
This commit is contained in:
Tamer Ahmed 2020-09-24 14:57:42 -07:00 committed by GitHub
parent 224cc3953f
commit b43f1129b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,21 +47,9 @@ stderr_logfile=syslog
dependent_startup=true dependent_startup=true
dependent_startup_wait_for=portsyncd:running dependent_startup_wait_for=portsyncd:running
[program:restore_neighbors]
command=/usr/bin/restore_neighbors.py
priority=5
autostart=false
autorestart=false
startsecs=0
startretries=0
stdout_logfile=syslog
stderr_logfile=syslog
dependent_startup=true
dependent_startup_wait_for=orchagent:running
[program:swssconfig] [program:swssconfig]
command=/usr/bin/swssconfig.sh command=/usr/bin/swssconfig.sh
priority=6 priority=5
autostart=false autostart=false
autorestart=unexpected autorestart=unexpected
startretries=0 startretries=0
@ -71,6 +59,18 @@ stderr_logfile=syslog
dependent_startup=true dependent_startup=true
dependent_startup_wait_for=orchagent:running dependent_startup_wait_for=orchagent:running
[program:restore_neighbors]
command=/usr/bin/restore_neighbors.py
priority=6
autostart=false
autorestart=false
startsecs=0
startretries=0
stdout_logfile=syslog
stderr_logfile=syslog
dependent_startup=true
dependent_startup_wait_for=swssconfig:exited
[program:neighsyncd] [program:neighsyncd]
command=/usr/bin/neighsyncd command=/usr/bin/neighsyncd
priority=7 priority=7