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

core: add support setting for MTU on macvlan interface from netavark config #158

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

flouthoc
Copy link
Collaborator

@flouthoc flouthoc commented Jan 12, 2022

Netavark config accepts MTU as network option so allow users to
configure the same for macvlan interface.

See https://github.com/containernetworking/plugins/blob/master/plugins/main/macvlan/macvlan.go#L181

Follow up PR to: #111

Closes: #151

Netavark config accepts `MTU` as network option so allow users to
configure the same for `macvlan` interface.

See https://github.com/containernetworking/plugins/blob/master/plugins/main/macvlan/macvlan.go#L181

Follow up PR to: containers#111

Signed-off-by: Aditya Rajan <[email protected]>
@flouthoc
Copy link
Collaborator Author

@Luap99 @mheon @baude This should close MTU setup for macvlan.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but can you add a test?

@flouthoc
Copy link
Collaborator Author

LGTM but can you add a test?

Sure adding a test.

@flouthoc
Copy link
Collaborator Author

@Luap99 Merge me please newly added test verifies the change.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 13, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, Luap99

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

@Luap99
Copy link
Member

Luap99 commented Jan 13, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 13, 2022
@openshift-merge-robot openshift-merge-robot merged commit f7ecf56 into containers:main Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: unsupported macvlan network option mtu
3 participants