Commit Graph
4910 Commits
Author SHA1 Message Date
Mattias Walström 2d5dc3b7e5 test: veth_delete: Adapt to new yangerd
Operational is now not instantly availible, is some lag.
2026-06-24 15:53:03 +02:00
Mattias Walström 36fa20ebbb test: ntp_client: Adapt to new yangerd daemon 2026-06-24 15:53:03 +02:00
Mattias Walström a085cec850 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-24 15:53:03 +02:00
Mattias Walström 231987ea2b tests: Adapt to new yangerd 2026-06-24 15:53:03 +02:00
Mattias Walström 1e9e98ba9b yangerd: Add support for getting ARP neighbors 2026-06-24 15:53:02 +02:00
Mattias Walström 434fb6df40 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-24 15:53:02 +02:00
Mattias Walström da4f5922c1 test: upgrade: Add adaptions needed for yangerd 2026-06-24 15:53:02 +02:00
Mattias Walström 5b8adbc359 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-24 15:53:02 +02:00
Mattias Walström 8d44303bb0 statd: Remove old code 2026-06-24 15:53:02 +02:00
Mattias Walström ba94be3c84 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-24 15:53:02 +02:00
Mattias Walström f2cc29291a yangerd: Add WiFi implementation 2026-06-24 15:53:02 +02:00
Mattias Walström bdaae55051 yangerd: Add backoff if ip batch work have crashed 2026-06-24 15:53:02 +02:00
Mattias Walström 1972d77937 yangerd: Do not start in runlevel S 2026-06-24 15:53:02 +02:00
Mattias Walström 7ef6da59a7 test: iface_enable_disable: Simplify test 2026-06-24 15:53:02 +02:00
Mattias Walström 357d54e58f test: wireguard_roadwarrior: Adapt to the new polled world in yangerd 2026-06-24 15:53:02 +02:00
Mattias Walström d07dac43af yangerd: Add wireguard support 2026-06-24 15:53:02 +02:00
Mattias Walström 4ab7c8643c yangerd: fix stp status 2026-06-24 15:53:02 +02:00
Mattias Walström 65e98f2675 yangerd: Send sighup to yangerd on config change
This is to force yangerd to repoll polled things
2026-06-24 15:53:02 +02:00
Mattias Walström f6df3a8e74 test: usb: adapt to new yangerd 2026-06-24 15:53:02 +02:00
Mattias Walström a28e1d9150 test: containers: host_commands/test.py: Adapt to new yangerd
Slightly slower to detect changes
2026-06-24 15:53:02 +02:00
Mattias Walström 73ad0ec6af Fix containers, reactive now. 2026-06-24 15:53:02 +02:00
Mattias Walström 5ce26d407a test: case: ntp: Adapt tests for polled yangerd 2026-06-24 15:53:02 +02:00
Mattias Walström d40f1cf14b test: dhcp: server_subnets: Add longer timeout for polling
This since NTP status is polled in yangerd.
2026-06-24 15:53:02 +02:00
Mattias Walström a8d22e0978 Fix ntp and dns status 2026-06-24 15:53:02 +02:00
Mattias Walström 7f411b9806 FRR does not send delete on OSPF route change
Handle this.
2026-06-24 15:53:02 +02:00
Mattias Walström 54cafe8d5f Fix interface and bridge race conditions 2026-06-24 15:53:02 +02:00
Mattias Walström 714a9ef891 zapi: Fix deletion of routes 2026-06-24 15:53:02 +02:00
Mattias Walström 9dc539a338 yangerd: Continues 2026-06-24 15:53:02 +02:00
Mattias Walström 30d9608054 Fix routing and ip addresses 2026-06-24 15:53:02 +02:00
Mattias Walström cdb9cca31d update doc 2026-06-24 15:53:02 +02:00
Mattias Walström 01fc6aaa05 statd: Include new yangerd backend for operational 2026-06-24 15:53:02 +02:00
Mattias Walström 442d7428b6 move yanger 2026-06-24 15:53:02 +02:00
Mattias Walström 9e8cbbca0c yangerd: Initial 2026-06-24 15:53:02 +02:00
Mattias Walström 673253ba00 test: firewall: Make tests more robust 2026-06-24 15:53:02 +02:00
Mattias Walström 78dbaf983c test: system: Make tests more robust 2026-06-24 15:53:02 +02:00
Mattias Walström d277c0d0f3 firewall: simplify 2026-06-24 15:53:02 +02:00
Mattias Walström f0449dd2b9 TEMP: Update yanger spec 2026-06-24 15:53:02 +02:00
Mattias Walström 0ef64b7a8e TEMP: WiP document 2026-06-24 15:53:02 +02:00
Joachim WibergandGitHub d194b52629 Merge pull request #1544 from kernelkit/misc 2026-06-22 08:39:14 +02:00
Joachim Wiberg 674fd6c396 confd: allow both ends of a veth pair to be assigned to containers
Previously at least one end of a veth pair had to remain in the host
namespace, because that end created and destroyed the pair.  Assigning
both ends to containers left no one to create it.

Select a deterministic primary end so exactly one side creates the pair.
When the primary is itself a container interface, create the pair in the
host namespace before the container starts; CNI host-device then moves
each end into its container.  Teardown is deferred to the container
removal script so the pair does not linger and block re-creation.

Drop the now-obsolete limitation notes from the documentation and YANG,
and add a regression test connecting two containers over a veth pair.

Fixes: #941

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-20 19:26:22 +02:00
Joachim Wiberg 0229057612 statd: fix temperature sensor display on Marvell switches
The per-port PHY temperature sensors on Marvell DSA switches show up in
'show hardware' with the name the kernel derives from the full device
tree path, e.g. cp0busbusf2000000mdio12a200switch2mdio01, which honestly
is completely unreadable and also overruns the value column.  Name each
sensor after the front-panel port it serves (e1, e2, ...) by matching
the PHY's device-tree phandle against each interface's phy-handle.

Also:
- show system: report a representative SoC temperature on CN913x by
  matching the ap-* and cp<N>-* thermal zones, hottest wins.
- cli-pretty: truncate over-long sensor names so they can never spill
  into the value column again.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-20 19:26:21 +02:00
Joachim Wiberg b3450d004d doc: lead README with the product, tidy prose
Reorder the README so newcomers see the product before the philosophy:
CLI demo and web UI up top, a "Try it in 5 minutes" section linking the
GNS3 and build-from-source guides, then hardware and the rest.  Tone
down the remaining marketing prose in the hardware and use-case lists.

Rename CODE-OF-CONDUCT.md to CODE_OF_CONDUCT.md so GitHub recognises it
as the community code of conduct, and link the .github/ health files
from the README.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-20 19:26:21 +02:00
Joachim WibergandGitHub 5c3a476cbc Merge pull request #1543 from kernelkit/kernel-upgrade-a7245ddb-ba71-4070-a3ac-b58471a404ab 2026-06-19 20:25:03 +02:00
ael-bot ba677bf5c1 Upgrade Linux kernel to 6.18.36 2026-06-19 12:42:46 +00:00
Joachim Wiberg a0c0a5e45c .github: remove unused inventory.yml maintenance workflow
Not needed anymore.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-18 19:19:41 +02:00
Joachim Wiberg 0fd8696860 .github: drop .sha256 sidecar files from releases
GitHub now publishes a sha256 checksum for each release asset, so the
separately generated .sha256 files are redundant.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-18 18:19:14 +02:00
Joachim Wiberg ebc4ce1d90 test: firewall/basic, minor refactor
Refactor to use a dummy interface instead of wasting a dut.  This not
only simplifies the test but also increases test coverage on test rigs
with a single DUT.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-18 17:58:57 +02:00
Joachim WibergandGitHub 25ff6f54f5 Merge pull request #1541 from kernelkit/web-vendoring
Use kernelkit/goyang instead of patched builtin
2026-06-18 17:05:02 +02:00
Joachim WibergandGitHub e28532d042 Merge pull request #1523 from saba8814/feat/add-scheduler-support
Add support for ietf-schedule
2026-06-18 16:54:52 +02:00
Ejub Sabic 797c5c09f1 fix: remove infix from commands and state files
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-18 13:12:18 +02:00