#micro-vm #firecracker #networking

fcnet-types

Shared types for fcnet, the Firecracker networking solution

2 releases

0.1.1 Dec 1, 2024
0.1.0 Oct 27, 2024

#15 in #firecracker

Download history 10/week @ 2025-02-12 13/week @ 2025-02-19 5/week @ 2025-02-26 18/week @ 2025-03-12 10/week @ 2025-03-19 13/week @ 2025-03-26 7/week @ 2025-04-09 18/week @ 2025-04-16 11/week @ 2025-04-23 7/week @ 2025-04-30 18/week @ 2025-05-07 699/week @ 2025-05-21 2316/week @ 2025-05-28

3,036 downloads per month
Used in 5 crates

MIT license

7KB
63 lines

fcnet-types

The fcnet-types crate provides a stable set of configuration types for a Firecracker microVM network:

  • FirecrackerNetwork
  • FirecrackerNetworkType
  • FirecrackerIpStack (IPv4, IPv6, dual-stack)
  • FirecrackerNetworkOperation (add, delete, check)

In order to actually perform FirecrackerNetworkOperations over a FirecrackerNetwork, you'll need a concrete implementation that depends on fcnet-types:

  • fcnet is a lib-crate that is a full implementation and is linked into your binary and functions within your application process at the downside of your application needing root permissions.
  • fcnetd-client is a lib-crate connects to a rootful process running the fcnetd bin-crate, which is a daemon that wraps fcnet behind either a Unix or TCP/IP socket that can be connected to in order to perform requests.

Dependencies

~185–335KB