Repository navigation
luci-app-bird-babel: add new application - #9237
Draft
robertfoss wants to merge 1 commit into
Draft
robertfoss wants to merge 1 commit into
robertfoss wants to merge 1 commit into
Conversation
robertfoss
marked this pull request as draft
November 11, 2026 19:45
robertfoss
force-pushed
the
luci-app-bird-babel
branch
10 times, most recently
from
November 12, 2026 13:01
ca170fe to
46fbdec
Compare
openwrt-ai
reviewed
Nov 12, 2026
Add a status page for the Babel protocol of BIRD, with up to 24 hours of history from the bird-babel-collector package. - Cards: neighbour count, current IPv4 and IPv6 default route and how long it has been selected, default route changes and neighbour losses in the last 24 hours - Gateway route: the hops from this router to the node that originates the selected default route, as traced by the collector; until a trace of the current route is done, the next hop and the gateway from BIRD with the routers in between as ⋯, which tells when the trace runs. IPv6 is shown as well when its route differs from IPv4, or alone without IPv4. - Graph: this router, its Babel interfaces, the mesh APs bridging them (from optional hints) and the neighbours heard on each, coloured by link cost. Networks joined at layer 2 outside the router, which makes it hear its own hellos, share a loop node that explains the problem and how to resolve it. - Neighbours: name (marked when it is the last known one), vendor and model, addresses, link cost, RTT, hello reception, routes, 99th percentiles and a cost sparkline - Default route timeline (selected, standby, none, not present, no data collected) of IPv4, or of IPv6 when there is only an IPv6 default route, and link cost and RTT charts with min, average, P99, max and last, over the history the collector has (at most 24 hours, no range buttons). Link cost is on a log scale, squashed above 512 (dashed line) so a few very bad links leave room for the usable ones. Samples without usable neighbours are drawn as dots. - Dragging across any of the time charts, with mouse, finger or pen, zooms all of them into that span, loaded at full resolution; a click or tap zooms back out. Vertical swipes still scroll the page. - Event log and Babel interfaces table - Live data every 5 s and history every 30 s, updating only what changed; the history refresh only asks for the data since the last one, with a full refresh (and new percentiles) every 5 minutes. When the router turns down a history query (it rate limits calls without a login) the page says so and retries. Times follow the configured clock hour cycle. - ACL limited to reading the bird-babel ubus object (status, history, events) and the system UCI config README.md explains how the view is built and why, and how to test and translate it, for further development. Signed-off-by: Robert Foss <rfoss@kernel.org>
robertfoss
force-pushed
the
luci-app-bird-babel
branch
from
November 13, 2026 14:53
e42d071 to
d60e898
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request details
Depends on: openwrt/packages#31257 (bird-babel-collector)
Description
New status page for the Babel protocol of BIRD (Status → Babel), with up to
24 hours of history from bird-babel-collector.
neighbour losses in the last 24 h
by link cost. A router hearing its own hellos (layer 2 loop) is shown as
such, with how to fix it.
routes and 99th percentiles
zoom out.
bird-babelubus object and thebird-babelandsystemUCI configsScreenshot
Maintainer (preferred)
@robertfoss
Tested on
OpenWrt version: OpenWrt SNAPSHOT r0-8ea847f (GL.iNet GL-BE9300, qualcommbe/ipq53xx)
LuCI version: LuCI Master (26.312.47156~4a3d16e)
Web browser(s): Firefox 158.0.1, Chrome 157.0.8103.50
Dependencies
openwrt/packages#31257
LLM use
Written with Claude as a coding assistant, for the code, commit message and this description.
I have reviewed all of it and run it on the device above.
Pings
cc @Noki @PolynomialDivision @pktpls