mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-21 19:56:33 +00:00
c21f3dc188
Phase 11b: RunInstances now auto-resolves the default subnet when no SubnetId is specified, matching AWS behavior. Previously fell back to SLIRP networking. Phase 12: vpcd reconciles OVN topology from [bootstrap] config on startup. The daemon writes a [bootstrap] section to spinifex.toml with the default VPC/subnet IDs on first run. vpcd reads this on startup and creates any missing OVN objects (router, switch, DHCP, IGW topology, SNAT, gateway chassis). All operations are idempotent — safe on every restart. This solves the bootstrap ordering problem where admin init creates VPC records before vpcd is running, so NATS events are missed. EnsureDefaultVPC now returns DefaultVPCInfo with VPC/subnet IDs.