start bgp_eoiu_mark service to populate bgp eoiu marker flags for warm start, if configured so (#3489)
* start bgp_eoiu_mark service to populate bgp eoiu marker if configured so * Address code review comments: check db value via "-v" option in sonic-cfggen * Address code review comment 2: check string against 'true' directly, instead of couting * Update start.sh
This commit is contained in:
parent
73721223cd
commit
864a7c60bd
@ -33,6 +33,13 @@ rm -f /var/run/rsyslogd.pid
|
||||
|
||||
supervisorctl start rsyslogd
|
||||
|
||||
# start eoiu pulling, only if configured so
|
||||
if [[ $(sonic-cfggen -d -v 'WARM_RESTART.bgp.bgp_eoiu') == 'true' ]]; then
|
||||
supervisorctl start bgp_eoiu_marker
|
||||
fi
|
||||
|
||||
supervisorctl start bgpcfgd
|
||||
|
||||
# Start Quagga processes
|
||||
supervisorctl start zebra
|
||||
supervisorctl start staticd
|
||||
|
@ -75,3 +75,13 @@ autorestart=false
|
||||
startsecs=0
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:bgp_eoiu_marker]
|
||||
command=/usr/bin/bgp_eoiu_marker.py
|
||||
priority=7
|
||||
autostart=false
|
||||
autorestart=false
|
||||
startsecs=0
|
||||
startretries=0
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
Loading…
Reference in New Issue
Block a user