Skip to content

feat: allow frr, mstpd and ptmd logs on Cumulus Linux 4.x - #48

Merged
krisiasty merged 1 commit into
mainfrom
feat/cumulus-log-units
Nov 16, 2026
Merged

krisiasty merged 1 commit into
mainfrom
feat/cumulus-log-units

Conversation

@krisiasty

Copy link
Copy Markdown
Owner

Summary

Adds three systemd units to the cumulus4x list that get_logs may read, next to clagd and switchd:

Unit Service
frr FRRouting routing daemons (zebra, bgpd, ospfd, ...), which log under frr.service
mstpd Spanning tree
ptmd Prescriptive Topology Manager

The unit parameter description, the get_logs and list_log_units tool descriptions and the README list the new units. The README units table now has one row per unit.

Test plan

  • go test ./...: the command built for each new unit, case-sensitive unit names (FRR refused), and list_log_units and the unknown-unit error listing all five units
  • golangci-lint run ./...: 0 issues
  • markdownlint-cli2 README.md: 0 issues
  • Branch build against a Cumulus 4.x leaf (leaf5): list_log_units lists all five units; get_logs for frr (zebra entries), mstpd (port state changes) and ptmd (LLDP neighbour messages) each returned entries from the last day

🤖 Generated with Claude Code

Add the FRRouting (frr), spanning tree (mstpd) and Prescriptive
Topology Manager (ptmd) units to the cumulus4x list get_logs may read,
next to clagd and switchd. The routing daemons (zebra, bgpd, ...) log
under frr.service, so frr covers them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@krisiasty
krisiasty merged commit bbfe043 into main Nov 16, 2026
4 checks passed
@krisiasty
krisiasty deleted the feat/cumulus-log-units branch November 16, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant