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

Extract netlink library from this project #1

Open
tailhook opened this issue Jul 13, 2018 · 2 comments
Open

Extract netlink library from this project #1

tailhook opened this issue Jul 13, 2018 · 2 comments

Comments

@tailhook
Copy link

Hi!

I'm also building container runtime in rust (vagga and lithos). I'm very interested in using what you have done here for creating bridge. The reason I've not done it myself is laking documentation for it (did you find any, by the way?).

Do you consider making the netlink/bridge creation part a separate crate/library?

I also maintain unshare and libmount crates for containers, that you might find useful.

@rabbitstack
Copy link
Owner

@tailhook , thank you for pointing out your work (vagga looks awesome. I'll definitely give it a try).

Do you consider making the netlink/bridge creation part a separate crate/library?

I'm wondering if promoting this upstream in pnetlink would be a better idea since I've already borrowed a decent amount of code from pnetlink. Besides that, I mostly dig through official netlink documentation / API reference.

How vagga deals with networking?

@tailhook
Copy link
Author

I'm wondering if promoting this upstream in pnetlink would be a better idea since I've already borrowed a decent amount of code from pnetlink.

Well, this will help too, but I'd like something more high level.

How vagga deals with networking?

Usually it uses host network namespace (because other ways need elevated privileges, and because it allows easier interoperability with running processes locally). But there is a network testing mode, briefly described here: http://vagga.readthedocs.io/en/latest/network.html

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

No branches or pull requests

2 participants