The profile names the network manager that is running, and travels in every report (hq ADR 0161) #61

Merged
mesh-admin merged 1 commits from feat/the-profile-names-the-uplink-and-travels-in-the-report into main 2026-10-01 14:02:16 +00:00
Contributor

hq ADR 0161, rule 3, host half (issue 138):

  • Three detectors, one per network manager: uplink-networkmanager, uplink-systemd-networkd, uplink-dhcpcd, each systemctl is-active of the manager's unit — running, not installed. Test with a fake runner.
  • The apply that reports detects the profile again and sends it in the report, the same shape enrolment sends (profileAsReported), so a machine that switched managers reaches the mesh at its next push.

Order: after mesh-controller #192 (which keeps a report's profile), before the catalogue's uplink holders declare their capability. go vet, go test ./... green.

hq ADR 0161, rule 3, host half (issue 138): - Three detectors, one per network manager: `uplink-networkmanager`, `uplink-systemd-networkd`, `uplink-dhcpcd`, each `systemctl is-active` of the manager's unit — running, not installed. Test with a fake runner. - The apply that reports detects the profile again and sends it in the report, the same shape enrolment sends (`profileAsReported`), so a machine that switched managers reaches the mesh at its next push. Order: after mesh-controller #192 (which keeps a report's profile), before the catalogue's uplink holders declare their capability. `go vet`, `go test ./...` green.
mesh-admin added 1 commit 2026-10-01 13:58:50 +00:00
One capability per manager — uplink-networkmanager, uplink-systemd-networkd, uplink-dhcpcd — from
systemctl is-active, so the uplink seat's holder for a manager this machine does not run is refused
the way any missing capability is, naming it (issue 138). The apply that reports detects the profile
again and sends it, the same shape enrolment sends, so a machine that switched managers reaches the
mesh at its next push.
mesh-admin merged commit 45529bfec2 into main 2026-10-01 14:02:16 +00:00
mesh-admin deleted branch feat/the-profile-names-the-uplink-and-travels-in-the-report 2026-10-01 14:02:17 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-host#61