-
Notifications
You must be signed in to change notification settings - Fork 799
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
tap: allow for a tap device to be created as a bridge port #832
tap: allow for a tap device to be created as a bridge port #832
Conversation
@maiqueb Hi |
Yes, both the tap device and the bridge must be inside the same network namespace (e.g. the pod). |
Test for the following PR: containernetworking/plugins#832
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
This looks good, but could you rebase real quick? |
bd8eaed
to
9a43e72
Compare
Done. Thanks for the quick review / approval. |
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
9a43e72
to
2cbb041
Compare
@mlguerrero12 IIUC this PR is failing on the lint stage for something unrelated to it. Should I rebase #871 to address those ? |
2cbb041
to
1f8c7fb
Compare
1f8c7fb
to
57d2aae
Compare
gingko-linter was just merged and this introduced new errors |
57d2aae
to
66ac4ac
Compare
wow 😅 I usually point these ones out ... Should not have blindly copied an existing test . Let's see if it is now OK. |
OK, now I am not introducing any errors, but seems we now pull an additional linter that frowns upon the way ginkgo is used. ... don't get me wrong, I think the linter is actually right. ... but I also think it should complain exclusively of code introduced in this PR, not existing code. |
Correct, I was not referring to the new test of this pr, but just to let you know that we have now new issues in general. |
4dd73d0
to
616cec6
Compare
Is this somehow a flake @squeed ?
I find it very strange that the contents of this PR (main tap plugin) somehow impact the meta portmap plugin ... I'm not touching any library. |
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
Test for the following PR: containernetworking/plugins#832 Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
616cec6
to
b35e889
Compare
b35e889
to
4722336
Compare
4722336
to
86cd865
Compare
This extends the tap plugin API enabling the user to instruct the CNI plugin the created tap device must be set as a port of an *existing* linux bridge on the pod network namespace. This is helpful for KubeVirt, allowing network connectivity to be extended from the pod's interface into the Virtual Machine running inside the pod. Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
86cd865
to
edab9ef
Compare
LGTM |
Thanks! |
This extends the tap plugin API enabling the user to instruct the CNI plugin the created tap device must be set as a port of an existing linux bridge on the pod network namespace.
This is helpful for KubeVirt, allowing network connectivity to be extended from the pod's interface into the Virtual Machine running inside the pod.