Module reactive

Module reactive 

Source
Expand description

Event-driven (reactive) probe scheduler.

No periodic timer in the steady state. A probe is sent only when a TriggerEvent is received:

  • Face comes up — bootstrap the neighbor table immediately.
  • Forwarding failure — verify the affected face is still alive.
  • Neighbor goes stale — re-probe before declaring it absent.

PassiveDetection is ignored; use PassiveScheduler for that case.

§Rate limiting

To prevent a storm of hellos after a flap, a minimum interval is enforced. No probe is emitted within DiscoveryConfig::hello_interval_base of the previous one. The implementation collapses multiple queued triggers into one probe when they arrive within the minimum interval.

Structs§

ReactiveScheduler
Probe scheduler that sends only on topology events, with rate limiting.