VPC-native networking for Cocoon VM nodes. cocoon-net provisions cloud networking resources and runs an embedded DHCP server so VMs obtain VPC-routable IPs directly – no overlay network, no iptables DNAT, no external DHCP server dependency.
cocoon-net init cocoon-net daemon
| |
v v
Cloud provisioning Node setup (sysctl, bridge, iptables, CNI conflist)
(alias IPs / ENIs) |
| v
v DHCP server on cni0
pool.json <---------- |
v
On lease: add /32 route
On release: del /32 route
platform / pool / node / dhcp), CNI integration, and
credentials--drop-cidr)pool.json state schema