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

Stable tap name for use with CNI? #12

Open
alexellis opened this issue Mar 5, 2022 · 0 comments
Open

Stable tap name for use with CNI? #12

alexellis opened this issue Mar 5, 2022 · 0 comments

Comments

@alexellis
Copy link

Hi, I've been trying to use firecracker's snapshot and restore functionality, but one of the challenges is that the current version of the Firecracker Go SDK doesn't support loading from a snapshot. It does integrate well with CNI and has been setting up IPs and adapters really well.

So one workaround appears to be to use HTTP requests to the unix socket to restore a snapshot taken with the Go SDK. The only outstanding issue is getting a stable tap device name, otherwise Firecracker panics when trying to load the snapshot either with no output at all, or the equivalent of "tap not found".

What would you suggest? Is there a way to do this, or is CNI not suited to this task due to the way it allocates tap names? Could the tap name be passed in or configured from some other metadata from the host-local / ptp plugin?

@Kern-- @kzys

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

1 participant