-
Notifications
You must be signed in to change notification settings - Fork 276
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
removed subshelling from veth between containers #123
Conversation
Added MTU capability Had to remove concurrency -> further investigation required
@steiler when I was researching the topic, I found out that the CNI repo is the best one to draw inspiration from on how to create p2p links. https://github.com/containernetworking/plugins They have a good explanation how dangerous is it to use netns switching with goroutines - https://github.com/containernetworking/plugins/tree/master/pkg/ns For our cause of p2p links creation we should browse this repo and see how they create veth pairs, instead of using vishavanda/netns package directly and maybe even a better reference will be that project and their APIs - https://github.com/redhat-nfvpe/koko/blob/8a6435ee27d70ab2fdf42b05023ec8d0a75276b1/api/koko_api.go#L73 |
@steiler here is a blog post about locking goroutines to a thread and thus to a network namespace, |
adjusted netlink bridge attachment
@hellt you're right. It wasn't clear to me that the default docker bridge was meant. |
I think I will get to it starting next year |
Changes are made in #209 |
Added MTU capability
Had to remove concurrency -> further investigation required
This is still work in progress, fixing #68