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

support for macvlan & ipvlan added. #2787

Closed

Conversation

kunalkushwaha
Copy link
Collaborator

CNI plugins for macvlan and ipvlan will be invoked
instead treating them as user defined network

Signed-off-by: Kunal Kushwaha [email protected]

CNI plugins for macvlan and ipvlan will be invoked
instead treating them as user defined network

Signed-off-by: Kunal Kushwaha <[email protected]>
@kunalkushwaha
Copy link
Collaborator Author

Currently, if ipvlan or macvlan is provided as option for container network, it treats as user defined network and skip the network creation using CNI plugin.

Since with CNI default setup, both macvlan and ipvlan is provided, support for both will be good addition.

e.g.

podman  run -it --rm --network=macvlan busybox sh

@giuseppe
Copy link
Member

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, kunalkushwaha

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 28, 2019
@rhatdan
Copy link
Member

rhatdan commented Mar 28, 2019

LGTM

@mheon
Copy link
Member

mheon commented Mar 28, 2019

Can we please do this without overloading --net anymore? That flag has gotten ridiculous to parse

@mheon
Copy link
Member

mheon commented Mar 28, 2019

Also - does this actually hit CNI at any point? I don't know if specifying macvlan actually does anything without a CNI network explicitly named "macvlan"

@kunalkushwaha
Copy link
Collaborator Author

This issues is fixed with #2796.

Also - does this actually hit CNI at any point? I don't know if specifying macvlan actually does anything without a CNI network explicitly named "macvlan

@mheon Thanks for pointing it out. I realized now, it was being created as bridge network, even macvlan or ipvlan was passed.

Closing this PR as its fixed with #2796.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants