Skip to content

Allow placing veth peer into a namespace#535

Merged
vishvananda merged 1 commit intovishvananda:masterfrom
const86:vethns
Sep 14, 2020
Merged

Allow placing veth peer into a namespace#535
vishvananda merged 1 commit intovishvananda:masterfrom
const86:vethns

Conversation

@const86
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

const86 commented May 22, 2020

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

@aboch
Copy link
Copy Markdown
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
Copy Markdown
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