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

plugins/testutils: pass CNI_CONTAINERID to plugins in testcases #148

Merged
merged 1 commit into from
May 9, 2018

Conversation

dcbw
Copy link
Member

@dcbw dcbw commented Apr 26, 2018

Recent CNI specification changes require the container ID on ADD/DEL,
which the testcases were not providing. Fix that up so things work
when this repo gets CNI revendored.

We switch over to CmdAddWithArgs()/CmdDelWithArgs() everywhere for simplicity, except the bandwidth plugin which has testcases that use a different interface name than is in its skel.CmdArgs.

@containernetworking/cni-maintainers @squeed @matthewdupre

Recent CNI specification changes require the container ID on ADD/DEL,
which the testcases were not providing.  Fix that up so things work
when this repo gets CNI revendored.
@dcbw dcbw merged commit dfbaecc into containernetworking:master May 9, 2018
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.

3 participants