-
Notifications
You must be signed in to change notification settings - Fork 2
sysrib
Pre-Alpha. This page describes behavior that may change.
Cross-protocol RIB selector. Takes per-protocol best-path selections and picks the winner by admin distance, then hands the result to the FIB programmer.
Infrastructure.
plugin {
external sysrib { use sysrib; encoder json; }
}
Not bound to peers. sysrib sits between bgp-rib and fib-kernel in the FIB pipeline and subscribes to per-protocol selection events from the bus.
For each prefix, sysrib collects the best path from every source protocol and picks the one with the lowest admin distance. Ze only has BGP as a source today, so admin distance is not particularly interesting in practice.
Admin distances match the values every other routing daemon uses.
| Protocol | Admin distance |
|---|---|
| Static | 10 |
| eBGP | 20 |
| iBGP | 200 |
The plugin publishes selection change events for fib-kernel (or fib-p4) to install into the actual forwarding table.
Registered via ConfigureMetrics.
| Metric | Type | Meaning |
|---|---|---|
ze_systemrib_routes_best |
gauge | Current system-wide best-route count. |
ze_systemrib_route_changes_total{action} |
counter | Best-path changes emitted, labelled by action. |
ze_systemrib_events_received_total |
counter | Protocol RIB events received. |
See plugin metrics.
- Consumes best-path change events from
bgp-rib. - Publishes selection events for
fib-kernelorfib-p4.
main/internal/plugins/sysrib/
Unreviewed draft. This wiki was authored in bulk and has not been reviewed. File corrections on the issue tracker.
- Overview
- YANG Model
- Editor Workflow
- Archive and Rollback
- System
- Interfaces
- BFD
- FIB
- Firewall
- Traffic Control
- L2TP/PPP
- VPP Data Plane
- RPKI
- TACACS+ AAA
- Fleet
- BGP
- Starting and Stopping
- Show Commands
- Monitoring
- Logging
- Operational Reports
- Healthcheck
- MRT Analysis
- Upgrade and Restart
- Storage
- Policy
- Core
- Resilience
- Validation
- Capabilities
- Address Families
- Protocol
- Subsystems
- Infrastructure
- Route Server at an IXP
- Transit Edge with RPKI
- Public Looking Glass
- ExaBGP Migration Walkthrough
- FlowSpec Injection
- Chaos-Tested Peering
- AS Path Topology