Mark FRR-dependent invariants as unenforced until peering lands #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem. DESIGN.md invariants 3–5 (zone resolvable on every enforcing
device, zone anchored at ≥1 firewall, firewall binds every connected zone) are
specified as validated against FRR routing state — but
internal/has noBGP-LS/BMP/route-monitoring package yet. The compiler currently accepts
topologies it cannot check, and it would be easy to forget which guarantees
are real when debugging a reachability hole later.
Proposal. Until FRR peering exists: log a startup warning enumerating
unenforced invariants, note them in the README, and (where possible) enforce
weaker static versions now — e.g. invariant 4's "every zone has ≥1 binding on
some firewall" needs no routing data and can be checked today.