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

host-device: Bring interfaces up after moving into container #679

Merged
merged 2 commits into from
Jan 26, 2022
Merged

host-device: Bring interfaces up after moving into container #679

merged 2 commits into from
Jan 26, 2022

Conversation

dpward
Copy link
Contributor

@dpward dpward commented Dec 20, 2021

If an interface is not configured with IPAM (because it functions at layer 2), it will not be brought up otherwise.

Fixes: #184

Copy link
Member

@mars1024 mars1024 left a comment

Choose a reason for hiding this comment

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

/lgtm, thanks!

@mccv1r0
Copy link
Member

mccv1r0 commented Dec 22, 2021

Your test failed, can you look into it @dpward ?

@dpward
Copy link
Contributor Author

dpward commented Jan 5, 2022

@mccv1r0 Sorry for the delay. This should now bring the device back to its previous up/down state after a failure when moving it from container back to host.

@dcbw
Copy link
Member

dcbw commented Jan 19, 2022

@dpward can you run gofmt on the hostdevice.go plugin?

go fmt checking failed:
plugins/main/host-device/host-device.go

dpward and others added 2 commits January 26, 2022 18:00
If an interface is not configured with IPAM (because it functions at
layer 2), it will not be brought up otherwise.

Signed-off-by: David Ward <[email protected]>
Signed-off-by: Casey Callendrello <[email protected]>
@squeed squeed merged commit 5a4ecc5 into containernetworking:master Jan 26, 2022
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.

host-device: set link up after moving host device to pod namespace
5 participants