Skip to content
Thomas Mangin edited this page Apr 8, 2026 · 5 revisions

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.

Category

Infrastructure.

Configuration

plugin {
    external sysrib { run "ze plugin 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.

Behaviour

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.

Interactions

  • Consumes best-path change events from bgp-rib.
  • Publishes selection events for fib-kernel or fib-p4.

Source

main/internal/plugins/sysrib/

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally