summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-28 18:51:25 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-28 20:48:32 +0100
commit4aa6e0daa6d9dec5fa8bbff32bb41be27265099b (patch)
treed3c00ee1a94690fea27930ce1b75808d06d65cf8 /op-mode-definitions
parenta7b74971e5f19a3d460bf6666cbae9702154aa43 (diff)
downloadvyos-1x-4aa6e0daa6d9dec5fa8bbff32bb41be27265099b.tar.gz
vyos-1x-4aa6e0daa6d9dec5fa8bbff32bb41be27265099b.zip
pppoe: T1318: add command to show statistics
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-interfaces-pppoe.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces-pppoe.xml b/op-mode-definitions/show-interfaces-pppoe.xml
index 3acb14486..591ec8f5b 100644
--- a/op-mode-definitions/show-interfaces-pppoe.xml
+++ b/op-mode-definitions/show-interfaces-pppoe.xml
@@ -27,6 +27,15 @@
</leafNode>
</children>
</node>
+ <leafNode name="statistics">
+ <properties>
+ <help>Show specified wirelessmodem interface statistics</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_pppoe_peers.sh</script>
+ </completionHelp>
+ </properties>
+ <command>/usr/sbin/pppstats $4</command>
+ </leafNode>
</children>
</tagNode>
</children>