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

Allow placing veth peer into a namespace #535

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Allow placing veth peer into a namespace #535

merged 1 commit into from
Sep 14, 2020

Conversation

const86
Copy link
Contributor

@const86 const86 commented Apr 14, 2020

Creating a veth pair across namespaces now is a multistep process.
Doing it in one shot with this change is clearer as current
namespace never sees peer IF. Also, moving peer into a namespace
may be rather slow, so better avoided.

@const86
Copy link
Contributor Author

const86 commented May 22, 2020

@vishvananda, anything I could do to push this through?

@aboch
Copy link
Collaborator

aboch commented Jun 3, 2020

Thanks.
Please add a UT for this as well.

Creating a veth pair across namespaces now is a multistep process.
Doing it in one shot with this change is clearer as current
namespace never sees peer IF. Also, moving peer into a namespace
may be rather slow, so better avoided.
@const86
Copy link
Contributor Author

const86 commented Jul 2, 2020

@aboch, added tests and rebased onto fresh master branch.

@vishvananda vishvananda merged commit 3374423 into vishvananda:master Sep 14, 2020
@const86 const86 deleted the vethns branch April 13, 2023 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants