Skip to content

api,adaptation,generate: allow adjusting linux net devices #157

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

klihub
Copy link
Member

@klihub klihub commented Apr 8, 2025

Allow plugins to adjust linux net devices.

Notes:
This PR is marked a draft since it uses an untagged opencontainers/runtime-spec version v1.2.2-0.20250401095657-e935f995dd67. Once a new version is tagged, we can mark this PR ready for review. Testing this requires

@klihub klihub force-pushed the devel/linux-net-devices branch from df6df04 to 02f0b68 Compare April 8, 2025 11:28
@aojea
Copy link
Contributor

aojea commented Apr 8, 2025

❤️

@klihub klihub force-pushed the devel/linux-net-devices branch from 02f0b68 to d886c51 Compare April 9, 2025 08:19
@klihub klihub requested review from mikebrow and fuweid May 2, 2025 08:24
@klihub klihub force-pushed the devel/linux-net-devices branch 2 times, most recently from df21d77 to 20533ae Compare June 24, 2025 11:10
@klihub klihub force-pushed the devel/linux-net-devices branch from 20533ae to 6e14a15 Compare June 24, 2025 11:13
@klihub
Copy link
Member Author

klihub commented Jun 24, 2025

/cc @aojea @tao12345666333 Here is the draft PR proposal #180 was asking for.

@aojea
Copy link
Contributor

aojea commented Jun 25, 2025

This is fantastic @klihub , can we undraft it for final review

@klihub klihub force-pushed the devel/linux-net-devices branch from 6e14a15 to a03dcca Compare June 25, 2025 06:26
@klihub
Copy link
Member Author

klihub commented Jun 25, 2025

This is fantastic @klihub , can we undraft it for final review

We can try to do that to get it reviewed. @mikebrow WDYT?

But I think we won't be able to get this merged before the necessary new bits in runtime-spec gets behind a tag. Both CRI-O and containerd main/HEAD is at [email protected] and I think we usually tend to stick to a tagged version in both even in main.

@aojea
Copy link
Contributor

aojea commented Jun 25, 2025

ok, that is fair

@aojea
Copy link
Contributor

aojea commented Jun 25, 2025

Fixes: #180

klihub added 5 commits July 14, 2025 11:04
Point opencontainers/runtime-spec to a (yet untagged) version
with support for linux net device injection.

Signed-off-by: Krisztian Litkey <[email protected]>
We still have support for the deprecated OCI Prestart hook.
Add ignore rule for the related linting error.

Signed-off-by: Krisztian Litkey <[email protected]>
Allow adding and removing container linux net devices.

Signed-off-by: Krisztian Litkey <[email protected]>
@klihub klihub force-pushed the devel/linux-net-devices branch from a03dcca to a999d9b Compare July 14, 2025 08:04
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.

2 participants