[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:
parent
224cc3953f
commit
b43f1129b4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user