Commit Graph
4888 Commits
Author SHA1 Message Date
Mattias Walström 4fcc7d1247 test: ospf_unnumbered_interface: Adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 4918a2d6a8 test: veth_delete: Adapt to new yangerd
Operational is now not instantly availible, is some lag.
2026-06-17 11:54:25 +02:00
Mattias Walström 199970fdac test: ntp_client: Adapt to new yangerd daemon 2026-06-17 11:54:25 +02:00
Mattias Walström 79c40e9bbb test: stp_basic: Stabilize test
With the new yangerd it failed 100% of the times, but it could fail
before as well, but that whould be very rare. Wait until operational
has been updated.
2026-06-17 11:54:25 +02:00
Mattias Walström 0fcf28d98d tests: Adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 8abe24e32b yangerd: Add support for getting ARP neighbors 2026-06-17 11:54:25 +02:00
Mattias Walström 1995b6b34c test: syslog: property_filter: Adapt to changes required by yangerd
The test got an unexpected input in one of its logs:

'May 22 11:18:32 test-00-03-00 yangerd[3677]: SIGHUP: triggering immediate re-poll'
limit the string grepping for to be more exact.
2026-06-17 11:54:25 +02:00
Mattias Walström 0800bc5e94 test: upgrade: Add adaptions needed for yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 5a99a4d022 test: upgrade: Add adaptions needed for yangerd
Specially the change:
`
-            oper = target.get_dict("/system-state/software")
+            oper = target.get_dict("/ietf-system:system-state/software")
`
i feel is strange, since only the backend for sysrepo has changed, but the
new syntax is actually correct, unsure why it has worked before.
2026-06-17 11:54:25 +02:00
Mattias Walström 85cb5d4e90 statd: Remove old code 2026-06-17 11:54:25 +02:00
Mattias Walström 330601a57a yanger: Remove code duplication and fix upgrade
Remove a lot of duplication and move to seperate libs in internal/

Also, instead of polling upgrade status using src/rauc-installation-status,
hook into the dbus monitor.
2026-06-17 11:54:25 +02:00
Mattias Walström a4dca08840 yangerd: Add WiFi implementation 2026-06-17 11:54:25 +02:00
Mattias Walström 417cdf4648 yangerd: Add backoff if ip batch work have crashed 2026-06-17 11:54:25 +02:00
Mattias Walström a638601b2d yangerd: Do not start in runlevel S 2026-06-17 11:54:25 +02:00
Mattias Walström 2567014452 test: iface_enable_disable: Simplify test 2026-06-17 11:54:25 +02:00
Mattias Walström 1a88164834 test: wireguard_roadwarrior: Adapt to the new polled world in yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 3c87338a79 yangerd: Add wireguard support 2026-06-17 11:54:25 +02:00
Mattias Walström de8d074cb9 yangerd: fix stp status 2026-06-17 11:54:25 +02:00
Mattias Walström 4dad023eae yangerd: Send sighup to yangerd on config change
This is to force yangerd to repoll polled things
2026-06-17 11:54:25 +02:00
Mattias Walström 5884a7f6fb test: usb: adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 6c12b30383 test: containers: host_commands/test.py: Adapt to new yangerd
Slightly slower to detect changes
2026-06-17 11:54:25 +02:00
Mattias Walström 52cea0a356 Fix containers, reactive now. 2026-06-17 11:54:25 +02:00
Mattias Walström 7a28d5b509 test: case: ntp: Adapt tests for polled yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 389695c826 test: dhcp: server_subnets: Add longer timeout for polling
This since NTP status is polled in yangerd.
2026-06-17 11:54:25 +02:00
Mattias Walström 3372966f89 Fix ntp and dns status 2026-06-17 11:54:24 +02:00
Mattias Walström ae3d50a41d FRR does not send delete on OSPF route change
Handle this.
2026-06-17 11:54:24 +02:00
Mattias Walström 02d52f5a12 Fix interface and bridge race conditions 2026-06-17 11:54:24 +02:00
Mattias Walström 0c7293f97a zapi: Fix deletion of routes 2026-06-17 11:54:24 +02:00
Mattias Walström 6e415bbcdb yangerd: Continues 2026-06-17 11:54:24 +02:00
Mattias Walström 299146dd4e Fix routing and ip addresses 2026-06-17 11:54:24 +02:00
Mattias Walström 7956ca05fa update doc 2026-06-17 11:54:24 +02:00
Mattias Walström 6d0d047c30 statd: Include new yangerd backend for operational 2026-06-17 11:54:24 +02:00
Mattias Walström 0d6384021f move yanger 2026-06-17 11:54:24 +02:00
Mattias Walström e0af89154f yangerd: Initial 2026-06-17 11:54:24 +02:00
Mattias Walström 262d2b1796 test: firewall: Make tests more robust 2026-06-17 11:54:24 +02:00
Mattias Walström 59402fa83f test: system: Make tests more robust 2026-06-17 11:54:24 +02:00
Mattias Walström fd4c82735a firewall: simplify 2026-06-17 11:54:24 +02:00
Mattias Walström ec87d50204 TEMP: Update yanger spec 2026-06-17 11:54:24 +02:00
Mattias Walström 4c13696091 TEMP: WiP document 2026-06-17 11:54:24 +02:00
Joachim WibergandGitHub a7d2e1b806 Merge pull request #1538 from kernelkit/move-mkdocs-action
.github: move setup-mkdocs to kernelkit/actions
2026-06-17 08:57:21 +02:00
Richard AlpeandJoachim Wiberg 390e60cfcb .github: move setup-mkdocs to kernelkit/actions
Finishes the migration started in 63f46d4d: setup-mkdocs was still
referenced via a relative ./.github/actions path, which GitHub resolves
against the calling repo, not infix, breaking spins (e.g. Styx) that
reuse build.yml/build-release.yml. Use kernelkit/actions/setup-mkdocs@v1.2.

Signed-off-by: Richard Alpe <richard@bit42.se>
2026-06-17 06:56:09 +00:00
Joachim WibergandGitHub f62d049aa9 Merge pull request #1540 from kernelkit/bump-buildroot
Bump buildroot to 2025.02.15
2026-06-17 08:39:27 +02:00
Mattias Walström 4554b77105 Bump buildroot to 2025.02.15
See buildroot changelog for full list of fixes:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02.x/CHANGES
2026-06-17 06:49:03 +02:00
Ejub ŠabićandGitHub 0c6d96f8a9 Merge pull request #1537 from saba8814/fix/flaky-dhcp-option-121-test
fix: flaky dhcp option 121 test
2026-06-16 11:50:03 +02:00
Ejub Sabic 473cda35bb fix: flaky dhcp option 121 test
This commit increases attempts on checks in this particular test from default 10 to 60.
This has been introduced to match worst case scenario where after 3 retries(5s) each dhcp waits 30 seconds before next 3 retries.
Commits yields to much more stable test behaviour.

Resolves: #1515

Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-16 08:39:40 +02:00
Joachim WibergandGitHub 227f1290fd Merge pull request #1457 from kernelkit/web 2026-06-15 22:58:44 +02:00
Joachim Wiberg 12f1edb435 doc: update ChangeLog
Use absolute links so they survive being exported to Release Notes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-15 21:02:17 +02:00
Joachim Wiberg f5c549f669 test: Add test for login flow in WebUI
Verify:

 - Unauthenticated GET /  -> 303 to /login
 - Bad-password rejection -> no session is created
 - Session cookie is flagged HttpOnly
 - Authenticated GET /interfaces -> 200
   - with htmx-config meta tag check
 - State-changing POST without CSRF token -> 403
 - POST with X-CSRF-Token header -> succeeds
 - After logout the session no longer grants access

The cookie-preserving WebUI helper class also folds in the IPv6
link-local zone-id workaround (re-encode %25 back to %) that
infamy.restconf already uses.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
2026-06-15 21:02:16 +02:00
Joachim Wiberg 7e19ee8777 webui: add Connectivity and Addresses cards to Overview
Surface network diagnostics the Overview lacked: default gateway(s) with
a live reachability dot, an Internet reachability check, the effective DNS
resolvers (origin static vs DHCP, plus the interface), search domains, NTP
sync, and the IP addresses of every L3 interface.

All from the operational datastore. Reachability is an async per-address
ping (pulsing green dot on reply, red cross on none).

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-15 21:02:16 +02:00
Joachim Wiberg 7e0e6f244d webui: user-menu Auto-logout and theme fixes
Auto-logout was client-side only while the server kept a fixed 1h idle
timeout, so "Off" still logged you out. Sessions now carry a per-session
timeout the client syncs from the menu (0 = never), capped at 24h.

Theme: the login toggle icon was never initialised on load (stuck on the
'auto' glyph); add color-scheme so native controls follow the OS on
'auto', and re-apply on OS theme change.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-15 21:02:15 +02:00