diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-17 20:18:21 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-17 20:24:48 +0100 |
commit | 14ae33a55298e2a5264b26d20c8f8f06d3b2266a (patch) | |
tree | a77d634ac4f7e9a0cc7d432862fc185eb0d6491f /op-mode-definitions | |
parent | a49540ef7615315ebe5886a8544903e94fec4523 (diff) | |
download | vyos-1x-14ae33a55298e2a5264b26d20c8f8f06d3b2266a.tar.gz vyos-1x-14ae33a55298e2a5264b26d20c8f8f06d3b2266a.zip |
op-mode: T6746: add "show log frr" and "monitor log frr" commands
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 6 | ||||
-rwxr-xr-x | op-mode-definitions/show-log.xml.in | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 66b7ecb2f..f6b70be32 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -114,6 +114,12 @@ </properties> <command>journalctl --no-hostname --boot --follow --unit uacctd.service</command> </leafNode> + <leafNode name="frr"> + <properties> + <help>Monitor last lines of FRRouting suite log</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit frr.service</command> + </leafNode> <leafNode name="ipoe-server"> <properties> <help>Monitor last lines of IP over Ethernet server log</help> diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index b032f5e38..9dcebb6af 100755 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -533,6 +533,12 @@ </properties> <command>journalctl --no-hostname --boot --unit uacctd.service</command> </leafNode> + <leafNode name="frr"> + <properties> + <help>Show log for FRRouting suite</help> + </properties> + <command>journalctl --no-hostname --boot --unit frr.service</command> + </leafNode> <leafNode name="https"> <properties> <help>Show log for HTTPs</help> |