Expand description
Overlay-network configuration types shared across ZLayer crates.
Mode status:
OverlayMode::Sharedis fully implemented (single clusterWireGuardinterface carrying multiple service subnets via multi-CIDRAllowedIPs, per-node Linux bridges per service).OverlayMode::Dedicatedis implemented: each service gets its own per-serviceWireGuardtransport with an isolated crypto context.OverlayMode::Autois the default. It resolves toShared— there is no telemetry heuristic yet (bandwidth budgets, NIC capabilities, per-node interface caps) to pickDedicatedautomatically. A future round will wire a real heuristic.
Every consumer of OverlayMode MUST go through OverlayMode::resolve
before acting on the value, so the resolution surface is uniform.
Structs§
- Overlay
Config - Per-service overlay configuration, populated from the service spec.
Enums§
- Overlay
Mode - How the daemon places a service’s overlay attachment.