Repository navigation
feat: allow frr, mstpd and ptmd logs on Cumulus Linux 4.x - #48
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three systemd units to the
cumulus4xlist thatget_logsmay read, next toclagdandswitchd:frrfrr.servicemstpdptmdThe
unitparameter description, theget_logsandlist_log_unitstool 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 (FRRrefused), andlist_log_unitsand the unknown-unit error listing all five unitsgolangci-lint run ./...: 0 issuesmarkdownlint-cli2 README.md: 0 issueslist_log_unitslists all five units;get_logsforfrr(zebra entries),mstpd(port state changes) andptmd(LLDP neighbour messages) each returned entries from the last day🤖 Generated with Claude Code