Skip to content

Commit

Permalink
Enable NAT application in docker-sonic-vs
Browse files Browse the repository at this point in the history
  • Loading branch information
kirankella committed Dec 21, 2019
1 parent 423e20d commit 031d8d6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform/vs/docker-sonic-vs/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ supervisorctl start vxlanmgrd

supervisorctl start sflowmgrd

supervisorctl start natmgrd

supervisorctl start natsyncd

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

[program:natmgrd]
command=/usr/bin/natmgrd
priority=23
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:natsyncd]
command=/usr/bin/natsyncd
priority=24
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

0 comments on commit 031d8d6

Please sign in to comment.