-
Notifications
You must be signed in to change notification settings - Fork 47
Add support for (Linux) net device injection. #269
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
Conversation
658b35b to
9900940
Compare
9900940 to
e95cee0
Compare
|
This PR is stale because it has been open 90 days with no activity. This PR will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label. |
@elezar Not with a tagged version yet, unfortunately.
I think we don't need to wait for this to get merged to tag a new version. We can tag a release without this right away, if everything else has been already merged. But we can't merge #279 yet, for the same reason. |
|
It seems as if the v1.3.0 spec has been tagged. |
Yes, but I think we'll need for opencontainers/runtime-tools#795 (and opencontainers/runtime-tools#797) to get merged. |
65cfa10 to
55029b7
Compare
55029b7 to
fa0e7fd
Compare
|
@klihub lgtm. Do we need to update/add any tests for the new fields? |
fa0e7fd to
0ea4bfd
Compare
142705c to
998d504
Compare
|
Ping @elezar, PTAL. |
998d504 to
a46466e
Compare
2112626 to
7416131
Compare
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Implement OCI Spec (Linux) NetDevice injection. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Bump current version to 1.1.0, include net devices in minimum required version check. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
7d96b13 to
b297834
Compare
elezar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@klihub this looks good now.
Some minor questions regarding whether this should include edits to SPEC.md, but I am approving this provisionally.
Update spec description, adding net devices and updating RDT to reflect recent changes. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@elezar Added 1 extra commits to update SPECS.md for |
…lds. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
| } | ||
| } | ||
|
|
||
| if len(spec.ContainerEdits.NetDevices) != 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This really is a big nit: At other places where we're checking non-empty, we explicilty check > 0 and not != 0. Not going to block on this though.
elezar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds support for injecting Linux NetDevices to an OCI Spec. In particular, the PR
NetDevicestoContainerEditsin the CDI Spec1.1.0cmd/cditest/cli binary