mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-19 10:52:04 +00:00
cbbd81bc76
Adds source="dhcp" option to external pool config. When set, ExternalIPAM obtains public IPs from the upstream router's DHCP server (via dhcpcd on br-ext) instead of allocating from a static range_start..range_end. The VM behavior is identical to static pool mode: private VPC IP from OVN DHCP, public IP via DNAT+SNAT, full DescribeInstances support. The only difference is where the public IP comes from. Two separate DHCP conversations: - Host ↔ Router DHCP (br-ext): "give me a public IP for this VM's NAT" - VM ↔ OVN DHCP (br-int): "give me my private VPC IP" Tested: DHCP pool mode on single-node (ben-banksia). VM got public IP 192.168.1.77 from router DHCP, SSH works, outbound internet works.