Skip to content

Commit

Permalink
[vxlanmgrd]: Add vxlanmgrd start command (#2705)
Browse files Browse the repository at this point in the history
* Add bridge-utils to orchagent image

- Add vxlanmgrd to supervisorctl in docker -orchagent

Signed-off-by: Ze Gan zegan@microsoft.com

* Update submodule pointer for swss to include Vxlanmgrd changes
  • Loading branch information
Pterosaur authored and prsunny committed Apr 24, 2019
1 parent 3a6d7be commit 2e86caa
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ supervisorctl start enable_counters

supervisorctl start nbrmgrd

supervisorctl start vxlanmgrd

# Start arp_update when VLAN exists
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
if [ "$VLAN" != "" ]; then
Expand Down
7 changes: 7 additions & 0 deletions dockers/docker-orchagent/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,10 @@ autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:vxlanmgrd]
command=/usr/bin/vxlanmgrd
priority=16
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog
2 changes: 2 additions & 0 deletions platform/vs/docker-sonic-vs/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ supervisorctl start buffermgrd

supervisorctl start nbrmgrd

supervisorctl start vxlanmgrd

# Start arp_update when VLAN exists
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
if [ "$VLAN" != "" ]; then
Expand Down
8 changes: 8 additions & 0 deletions platform/vs/docker-sonic-vs/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,11 @@ autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:vxlanmgrd]
command=/usr/bin/vxlanmgrd
priority=21
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog
2 changes: 1 addition & 1 deletion src/sonic-swss

0 comments on commit 2e86caa

Please sign in to comment.