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

Netavark plugin support #1388

Merged
merged 5 commits into from
Apr 4, 2023

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Mar 30, 2023

see individual commits
and containers/netavark#509

@Luap99
Copy link
Member Author

Luap99 commented Mar 30, 2023

/hold until the netavark PR is ready to go

@Luap99 Luap99 force-pushed the netavark-plugin branch 2 times, most recently from 0d67a5e to 4ac6c6b Compare April 3, 2023 16:02
@rhatdan
Copy link
Member

rhatdan commented Apr 3, 2023

LGTM
@vrothberg @mheon PTAL

@vrothberg
Copy link
Member

I am unqualified to review due to my lack of knowledge on netavark.

@flouthoc can you take a look?

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

Other than once comment above PR LGTM

@flouthoc
Copy link
Collaborator

flouthoc commented Apr 4, 2023

/lgtm
/approve

@Luap99
Copy link
Member Author

Luap99 commented Apr 4, 2023

Please review containers/netavark#509

Users can now suplly custom network drivers which will execute the
netavark plugin to create the network. Netavark will execute the pluign
to setup/teardown the netns.
see containers/netavark#509

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Add config field to specify the location for the netavark plugins.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Add a custom plugin that can be used in the netavark unit tests to check
if the integration works as expected.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
The the plugin integration with the testplugin.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Netavark needs to get the actual list of directories from podman because
users can set them in contianers.conf.

Note that this change requires a netavark with
containers/netavark#509
To allow better backwards compat we only pass the new argument when we
need. Also added the missing ipvlan driver to the supported driver list.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@Luap99
Copy link
Member Author

Luap99 commented Apr 4, 2023

Rebased and repushed to add missing omitempty to config field, not sure if it was required but we should have it for consistency.

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM
/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Apr 4, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 4, 2023

[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

@rhatdan
Copy link
Member

rhatdan commented Apr 4, 2023

/hold cancel

@openshift-merge-robot openshift-merge-robot merged commit 4b81e08 into containers:main Apr 4, 2023
6 checks passed
@Luap99 Luap99 deleted the netavark-plugin branch April 4, 2023 17:03
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.

None yet

5 participants