summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-11-09 10:50:00 -0800
committerhagbard <vyosdev@derith.de>2018-11-09 12:27:21 -0800
commit55ee90e486a500868c7fd1b523d76179522f1f56 (patch)
treef76d3bbee12276cab490cdbd818d5970ce3820c3 /op-mode-definitions
parent60d961765217381108926c51521e90b222d60649 (diff)
downloadvyos-1x-55ee90e486a500868c7fd1b523d76179522f1f56.tar.gz
vyos-1x-55ee90e486a500868c7fd1b523d76179522f1f56.zip
T835: accel-ppp pppoe implementation
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/pppoe-server.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml
new file mode 100644
index 000000000..7595d6ecf
--- /dev/null
+++ b/op-mode-definitions/pppoe-server.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="pppoe-server">
+ <properties>
+ <help>show pppoe-server status</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active PPPoE server sessions</help>
+ </properties>
+ <command>/usr/bin/accel-cmd 'show sessions'</command>
+ </leafNode>
+ <leafNode name="statistics">
+ <properties>
+ <help>Show PPPoE server statistics</help>
+ </properties>
+ <command>/usr/bin/accel-cmd 'show stat'</command>
+ </leafNode>
+ <leafNode name="interfaces">
+ <properties>
+ <help>Show interfaces where pppoe-server listens on</help>
+ </properties>
+ <command>/usr/bin/accel-cmd 'pppoe interface show'</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>