diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-07 14:27:27 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-07 14:27:27 +0200 |
commit | 52d8a2265ef7eccc9df71a164ebacdbcf70f4701 (patch) | |
tree | 7136584a0bd41d5f3866c66047528deffec8879d /op-mode-definitions | |
parent | 561694378e11a406205722c95f81cf637676a80b (diff) | |
download | vyos-1x-52d8a2265ef7eccc9df71a164ebacdbcf70f4701.tar.gz vyos-1x-52d8a2265ef7eccc9df71a164ebacdbcf70f4701.zip |
pppoe: op-mode: T2488: retrieve log info from journalctl
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-interfaces-pppoe.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/op-mode-definitions/show-interfaces-pppoe.xml b/op-mode-definitions/show-interfaces-pppoe.xml index 65363f7e2..01acd4fc6 100644 --- a/op-mode-definitions/show-interfaces-pppoe.xml +++ b/op-mode-definitions/show-interfaces-pppoe.xml @@ -13,9 +13,15 @@ </properties> <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command> <children> + <leafNode name="log"> + <properties> + <help>Show specified PPPoE interface log</help> + </properties> + <command>/usr/bin/journalctl -u "ppp@$4".service</command> + </leafNode> <leafNode name="statistics"> <properties> - <help>Show PPPoE interface statistics</help> + <help>Show specified PPPoE interface statistics</help> <completionHelp> <path>interfaces pppoe</path> </completionHelp> |