Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes in sonic-buildimage to support the NAT feature #3494

Merged
merged 7 commits into from
Jan 30, 2020

Conversation

kirankella
Copy link
Contributor

@kirankella kirankella commented Sep 20, 2019

Changes done include:

  • Docker changes for NAT
  • Installing the required tools iptables and conntrack
  • Change in iptables utility to pass the new option fullcone to the kernel

Depend on:
sonic-linux-kernel PR - sonic-net/sonic-linux-kernel#100
sonic-swss PR - sonic-net/sonic-swss#1059

Signed-off-by: [email protected]

@lguohan
Copy link
Collaborator

lguohan commented Sep 20, 2019

can you first fix the build problem?

dockers/docker-nat/Dockerfile.j2 Outdated Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Outdated Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Outdated Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Outdated Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Outdated Show resolved Hide resolved
rules/docker-nat.mk Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Show resolved Hide resolved
dockers/docker-nat/restore_nat_entries.py Outdated Show resolved Hide resolved
@stepanblyschak
Copy link
Collaborator

@kirankella
Copy link
Contributor Author

@kirankella Do you need to add 'natsyncd' to warm reboot finalizer list https://github.com/Azure/sonic-buildimage/blob/master/files/image_config/warmboot-finalizer/finalize-warmboot.sh#L6?

@stepanblyschak Yes, it needs to be added in the finalizer list. Will update in the next patch.

@kirankella
Copy link
Contributor Author

retest this please

stepanblyschak
stepanblyschak previously approved these changes Dec 3, 2019
arlakshm
arlakshm previously approved these changes Dec 20, 2019
@kirankella kirankella dismissed stale reviews from arlakshm and stepanblyschak via 3b87714 December 21, 2019 08:13
@kirankella
Copy link
Contributor Author

retest this please

2 similar comments
@kirankella
Copy link
Contributor Author

retest this please

@kirankella
Copy link
Contributor Author

retest this please

@kirankella
Copy link
Contributor Author

retest vs please

@rlhui rlhui merged commit 97165a0 into sonic-net:master Jan 30, 2020
abdosi pushed a commit that referenced this pull request Feb 4, 2020
* Changes in sonic-buildimage for the NAT feature
- Docker for NAT
- installing the required tools iptables and conntrack for nat

Signed-off-by: [email protected]

* 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
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
* Changes in sonic-buildimage for the NAT feature
- Docker for NAT
- installing the required tools iptables and conntrack for nat

Signed-off-by: [email protected]

* 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
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
* Changes in sonic-buildimage for the NAT feature
- Docker for NAT
- installing the required tools iptables and conntrack for nat

Signed-off-by: [email protected]

* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants