Expand description
E08.5 — hold-down, hysteresis, and repair. Alternating ads must not flap.
Structs§
- HopHold
Down - Compact next-hop that withdrew.
last_down_unix == 0means not held. - Hysteresis
Policy - Replacement policy. Hold-down is in unix seconds; improve deltas are strict.
Functions§
- admit_
healed_ routes - Partition heal: suppress held-down first hops, then apply replacement hysteresis.
- decide_
replace - Constraint-aware repair: infeasible current is replaced immediately.
- hold_
planned_ routes - After
super::plan::plan_routes, keepcurrentunless repair/hysteresis switches. - hop_
is_ held_ down - True while
nowis still inside the hold-down window after withdrawal. - should_
replace - Keep
currentunless it is unusable or a replacement meets threshold after hold-down. - suppress_
held_ hops - Drop planned paths whose first hop is still in hold-down after a flap.