mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
88baf5e202
Auto-detect bridge topology: if a dedicated WAN NIC exists (not used for SSH), add it directly to br-external instead of creating a macvlan. Direct bridge enables distributed NAT (DNAT on VM's own chassis) and eliminates macvlan workarounds (MAC alignment, gratuitous ARPs, centralized NAT bottleneck). - topology.go: bridge-mode-aware NAT and localnet port options - vpcd.go: auto-detect bridge mode, skip MAC alignment for direct bridge - setup-ovn.sh: --direct flag for physical NIC on br-external - reset-dev-env.sh: SSH NIC detection via SSH_CONNECTION