sonic-buildimage/dockers/docker-nat/start.sh
Kiran Kumar Kella a943e6ce45 Changes in sonic-buildimage to support the NAT feature (#3494)
* Changes in sonic-buildimage for the NAT feature
- Docker for NAT
- installing the required tools iptables and conntrack for nat

Signed-off-by: kiran.kella@broadcom.com

* Add redis-tools dependencies in the docker nat compilation

* Addressed review comments

* add natsyncd to warm-boot finalizer list

* addressed review comments

* using swsscommon.DBConnector instead of swsssdk.SonicV2Connector

* Enable NAT application in docker-sonic-vs
2020-02-03 15:30:39 -08:00

16 lines
229 B
Bash
Executable File

#!/usr/bin/env bash
rm -f /var/run/rsyslogd.pid
rm -f /var/run/nat/*
mkdir -p /var/warmboot/nat
supervisorctl start rsyslogd
supervisorctl start natmgrd
supervisorctl start natsyncd
supervisorctl start restore_nat_entries