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

subnet: fix nat outgoing policy rule #3003

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Jul 2, 2023

What type of this PR

  • Bug fixes
  • Tests

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at a36e85c

This pull request enhances the NAT outgoing policy feature for subnets in kube-ovn. It improves the subnet controller logic, the gateway daemon implementation, and the e2e test case for the feature. It also refactors some code and fixes some bugs related to the feature.

🤖 Generated by Copilot at a36e85c

We are the masters of the gateway
We filter the subnets with natOutgoingPolicy
We hash and slice with Sha256Hash and strset.Set
We rule the iptables with fire and fury

HOW

🤖 Generated by Copilot at a36e85c

@zhangzujian zhangzujian added bug Something isn't working test automation tests labels Jul 2, 2023
@zhangzujian zhangzujian force-pushed the fix-nat branch 2 times, most recently from a7ce751 to 9a2ffe4 Compare July 2, 2023 12:42
@zhangzujian zhangzujian merged commit d5f89bc into kubeovn:master Jul 4, 2023
55 of 58 checks passed
@zhangzujian zhangzujian deleted the fix-nat branch July 4, 2023 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test automation tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants