Skip to content

Commit 8a5e6ac

Browse files
marian-pritsaklguohan
authored andcommitted
[docker-orchagent]: Add vrfmgrd to supervisorctl (#2055)
* [docker-orchagent]: Add vrfmgrd to supervisorctl Signed-off-by: Marian Pritsak <[email protected]> * [sonic-vs]: Add vrfmgrd to supervisorctl Signed-off-by: Marian Pritsak <[email protected]>
1 parent 5e08213 commit 8a5e6ac

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

dockers/docker-orchagent/start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ supervisorctl start buffermgrd
3232

3333
supervisorctl start enable_counters
3434

35+
supervisorctl start vrfmgrd
36+
3537
# Start arp_update when VLAN exists
3638
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
3739
if [ "$VLAN" != "" ]; then

dockers/docker-orchagent/supervisord.conf

+8
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,11 @@ autostart=false
107107
autorestart=false
108108
stdout_logfile=syslog
109109
stderr_logfile=syslog
110+
111+
[program:vrfmgrd]
112+
command=/usr/bin/vrfmgrd
113+
priority=14
114+
autostart=false
115+
autorestart=false
116+
stdout_logfile=syslog
117+
stderr_logfile=syslog

platform/vs/docker-sonic-vs/start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ supervisorctl start zebra
5252

5353
supervisorctl start buffermgrd
5454

55+
supervisorctl start vrfmgrd
56+
5557
# Start arp_update when VLAN exists
5658
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
5759
if [ "$VLAN" != "" ]; then

platform/vs/docker-sonic-vs/supervisord.conf

+8
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,11 @@ autostart=false
138138
autorestart=false
139139
stdout_logfile=syslog
140140
stderr_logfile=syslog
141+
142+
[program:vrfmgrd]
143+
command=/usr/bin/vrfmgrd
144+
priority=18
145+
autostart=false
146+
autorestart=false
147+
stdout_logfile=syslog
148+
stderr_logfile=syslog

0 commit comments

Comments
 (0)