summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-23 06:33:45 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-23 07:44:05 +0100
commit17f6027f318b3edb0087ecfa15755bc474ea8319 (patch)
tree5045f46ba480ff8f5c1ee86d97b3e31aeca19c11 /op-mode-definitions
parent2e4edfd3f0f9eb306e42f119f73347deaecb7c47 (diff)
downloadvyos-1x-17f6027f318b3edb0087ecfa15755bc474ea8319.tar.gz
vyos-1x-17f6027f318b3edb0087ecfa15755bc474ea8319.zip
op-mode: T4949: add "show|monitor log ipoe-server" command
(cherry picked from commit 68a8cd2612cb1b00d381059747de8107f38e8c96)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/monitor-log.xml.in6
-rw-r--r--op-mode-definitions/show-log.xml.in6
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 c14afc559..e06516ee7 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -80,6 +80,12 @@
</properties>
<command>journalctl --no-hostname --boot --follow --unit nginx.service</command>
</leafNode>
+ <leafNode name="ipoe-server">
+ <properties>
+ <help>Monitor last lines of IPoE server log</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit accel-ppp@ipoe.service</command>
+ </leafNode>
<leafNode name="lldp">
<properties>
<help>Show log for LLDP</help>
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 4c0a7913b..ec3d8cbbf 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -177,6 +177,12 @@
</tagNode>
</children>
</tagNode>
+ <leafNode name="ipoe-server">
+ <properties>
+ <help>Show log for IPoE server</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit accel-ppp@ipoe.service</command>
+ </leafNode>
<leafNode name="kernel">
<properties>
<help>Show messages in kernel ring buffer</help>