Skip to main content

Module route

Module route 

Source
Expand description

QRoute SPF and forwarding generations.

Production admission is constraint-first (validate → index → plan). compute_spf remains the 16-node demonstration / oracle helper. Hold-down and untrusted ads are applied after plan_routes, never instead of it.

Re-exports§

pub use ads::admit_advert;
pub use ads::explore_untrusted;
pub use ads::AdvertisedMetric;
pub use ads::MetricProvenance;
pub use ads::PathAdvert;
pub use ads::MAX_EXPLORE;
pub use constraints::edge_feasible;
pub use constraints::path_feasible;
pub use constraints::PathConstraint;
pub use flood::FloodTable;
pub use flood::LsaRecord;
pub use forwarding::ForwardingGeneration;
pub use hysteresis::admit_healed_routes;
pub use hysteresis::decide_replace;
pub use hysteresis::hold_planned_routes;
pub use hysteresis::hop_is_held_down;
pub use hysteresis::should_replace;
pub use hysteresis::suppress_held_hops;
pub use hysteresis::HopHoldDown;
pub use hysteresis::HysteresisPolicy;
pub use index::insert_edge;
pub use index::AdjacencyIndex;
pub use index::MAX_ADMITTED_EDGES;
pub use overlap::GenerationPair;
pub use plan::plan_routes;
pub use realm::authenticate_realm_policy;
pub use realm::RealmRouteTable;
pub use select::pareto_select;
pub use select::CandidatePath;
pub use select::PathMetrics;
pub use select::MAX_SELECTED;
pub use spf::compute_spf;
pub use spf::LinkMetric;
pub use spf::SpfTable;
pub use validate::insert;
pub use validate::validate_record;
pub use validate::TopologyRecord;
pub use validate::ValidatedEdge;

Modules§

ads
E08.6 — verified topology facts vs untrusted price/energy/latency adverts.
constraints
E08.3/E08.4 — hard filters before ranking. Unknown energy is not zero.
flood
Bounded LSA flood admission. Missing/expired records never invent reachability.
forwarding
Immutable forwarding generation. Incomplete computation is not published.
hysteresis
E08.5 — hold-down, hysteresis, and repair. Alternating ads must not flap.
index
E08.2 — caller-backed adjacency index. Production is not capped at 16 nodes.
overlap
Old/new forwarding-generation overlap. Incomplete tables never go live.
plan
Production route planner. Feasibility first; never auto-publishes forwarding.
realm
E08.5 — inter-realm policy authentication and default-route leak prevention.
select
Pareto selection of at most three next hops. Metrics stay independently typed.
spf
Bounded SPF over authenticated adjacencies. At most three next hops.
validate
E08.1 — admit topology records only after origin/scope/sequence/expiry checks.