Commit Graph
4915 Commits
Author SHA1 Message Date
Mattias Walström c8bcc6d49f yangerd: Return {} instead of 404 if no match 2026-06-19 11:38:09 +02:00
Mattias Walström 7cf27205ed statd: Adapt to yanger keys on module:container path
Instead of relying of the runtime xpath, which can be just /system-state
for example, resulting on no yangerd match.
2026-06-19 11:38:09 +02:00
Mattias Walström 9813889ed7 test: ospf_default_route_advertise: Make test more robust
FRR can sometimes be pretty slow to actually install the route in
the kernel. Increase the timeout of must_reach.
2026-06-19 11:38:09 +02:00
Mattias Walström ff6dcfcf70 test: route_pref_ospf: Update test spec 2026-06-19 11:38:09 +02:00
Mattias Walström 82a72ae293 test: ntp_client: Update test spec 2026-06-19 11:38:09 +02:00
Mattias Walström b7f4341775 test: hostname: adapt to yanger 2026-06-19 11:38:09 +02:00
Mattias Walström 7e3d92cdbb test: ospf_point_to_multipoint: Adapt to yanger 2026-06-19 11:38:09 +02:00
Mattias Walström bd97fcb16d test: spec: Allow to generate test specification without logical topology 2026-06-19 11:38:09 +02:00
Mattias Walström 0e778090a8 test: upgrade: add missing readme 2026-06-19 11:38:09 +02:00
Mattias Walström 3a0bdfff9c test: operational_all: Harden to catch more
- Test so the value in operational actually is correct
- Move test to last in suite to see that there are no stray
  data in operational (yangerd)
2026-06-19 11:38:09 +02:00
Mattias Walström 1dc0e85c1f yangerd: Add missing files 2026-06-19 11:38:09 +02:00
Mattias Walström 2efb396a50 test: upgrade: Adapt to yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 7135dfb6fb test: route_pref_ospf: Adapt to yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 8955975126 test: ospf_unnumbered_interface: Adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 76ff3b4c9b test: veth_delete: Adapt to new yangerd
Operational is now not instantly availible, is some lag.
2026-06-19 11:38:09 +02:00
Mattias Walström c70e2ff78c test: ntp_client: Adapt to new yangerd daemon 2026-06-19 11:38:09 +02:00
Mattias Walström f4c2671e92 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-19 11:38:09 +02:00
Mattias Walström eaa737ff94 tests: Adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström bfd21c3d5a yangerd: Add support for getting ARP neighbors 2026-06-19 11:38:09 +02:00
Mattias Walström 642e7a6523 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-19 11:38:09 +02:00
Mattias Walström b918c32ea2 test: upgrade: Add adaptions needed for yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström fe680190e2 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-19 11:38:09 +02:00
Mattias Walström 28775bb6f5 statd: Remove old code 2026-06-19 11:38:09 +02:00
Mattias Walström 309aa411ae 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-19 11:38:09 +02:00
Mattias Walström db5c0862bc yangerd: Add WiFi implementation 2026-06-19 11:38:09 +02:00
Mattias Walström d830e00719 yangerd: Add backoff if ip batch work have crashed 2026-06-19 11:38:09 +02:00
Mattias Walström 0c55bb3ea8 yangerd: Do not start in runlevel S 2026-06-19 11:38:09 +02:00
Mattias Walström 82bc86e10a test: iface_enable_disable: Simplify test 2026-06-19 11:38:09 +02:00
Mattias Walström e95c75d702 test: wireguard_roadwarrior: Adapt to the new polled world in yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 9d072b60de yangerd: Add wireguard support 2026-06-19 11:38:09 +02:00
Mattias Walström fc2517720b yangerd: fix stp status 2026-06-19 11:38:09 +02:00
Mattias Walström b1b189de4d yangerd: Send sighup to yangerd on config change
This is to force yangerd to repoll polled things
2026-06-19 11:38:09 +02:00
Mattias Walström c3c5ec3bb4 test: usb: adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 937e7caf52 test: containers: host_commands/test.py: Adapt to new yangerd
Slightly slower to detect changes
2026-06-19 11:38:09 +02:00
Mattias Walström ab6de50844 Fix containers, reactive now. 2026-06-19 11:38:09 +02:00
Mattias Walström c046f01ad8 test: case: ntp: Adapt tests for polled yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 891723f861 test: dhcp: server_subnets: Add longer timeout for polling
This since NTP status is polled in yangerd.
2026-06-19 11:38:09 +02:00
Mattias Walström 44d174f9a7 Fix ntp and dns status 2026-06-19 11:38:09 +02:00
Mattias Walström b41a46a418 FRR does not send delete on OSPF route change
Handle this.
2026-06-19 11:38:09 +02:00
Mattias Walström 1ae74beb62 Fix interface and bridge race conditions 2026-06-19 11:38:09 +02:00
Mattias Walström cc0e695783 zapi: Fix deletion of routes 2026-06-19 11:38:09 +02:00
Mattias Walström 6bd1946fa0 yangerd: Continues 2026-06-19 11:38:09 +02:00
Mattias Walström 8916376cbd Fix routing and ip addresses 2026-06-19 11:38:08 +02:00
Mattias Walström 4aa7de03d0 update doc 2026-06-19 11:38:08 +02:00
Mattias Walström 630898af17 statd: Include new yangerd backend for operational 2026-06-19 11:38:08 +02:00
Mattias Walström 43e0df1320 move yanger 2026-06-19 11:38:08 +02:00
Mattias Walström 21923bdb5e yangerd: Initial 2026-06-19 11:38:08 +02:00
Mattias Walström b491820155 test: firewall: Make tests more robust 2026-06-19 11:38:08 +02:00
Mattias Walström c9835dfc4a test: system: Make tests more robust 2026-06-19 11:38:08 +02:00
Mattias Walström 4df99fcd9f firewall: simplify 2026-06-19 11:38:08 +02:00