-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
support outbound-addr #7216
support outbound-addr #7216
Conversation
bff7100
to
49629c2
Compare
66f0ab9
to
0fc4b14
Compare
you must add the test/e2e/ |
Yes I know @zhangguanzhang, will do. I did not have time to test in my env so far, I will include tests later. That's why it is WIP so far. I did not expect that fast reviews. Thank you both for reviews and suggestions. |
a5f1f85
to
4f80b0e
Compare
The test I added yesterday is not correct. I will fix it today. I wonder do we need ipv6 test as well? Slirp4netns does not test ipv6 yet. |
15cebd1
to
76dcb56
Compare
OK, I finished and tested changes and everything works as expected. But ... I am not sure about tests. We need to check whether we are running podman on slirp4netns with |
For testing - I would restrict testing to rootless only, which guarantees it will be run on a slirp4netns system. You'll probably have to use localhost as the source address, I don't think we can guarantee a stable external IP on the test systems. |
Yes that is what I did in latest commit. Regarding restriction to rootless only |
Yes - you're right, that would guarantee slirp would be used, even as root |
399b43f
to
2246be1
Compare
/approve Restarted tests in case they flaked. |
Tests seem green. |
LGTM, for reference |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 5eraph, AkihiroSuda, mheon, zhangguanzhang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f8e2020
to
ba3301d
Compare
Hi @TomSweeneyRedHat, reuqested docs changes implemented. |
tests aren't hip. |
Fixes containers#6064 Signed-off-by: Bohumil Cervenka <[email protected]>
@TomSweeneyRedHat comment updated. Well I do not have anything else for now which has to be included in this pull request, so from my side we are good to go, unless you would like to add something else ofc. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @5eraph !
/lgtm |
Changes to support binding to specific outbound address. Mentioned in #6064. Follow ups to #6324 and #6965.