summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
index d8a518573..85cbd4712 100644
--- a/op-mode-definitions/pppoe-server.xml
+++ b/op-mode-definitions/pppoe-server.xml
@@ -29,4 +29,36 @@
</node>
</children>
</node>
+ <node name="reset">
+ <properties>
+ <help>Reset a service</help>
+ </properties>
+ <children>
+ <node name="pppoe-server">
+ <properties>
+ <help>Reset PPPoE server sessions</help>
+ </properties>
+ <children>
+ <leafNode name="all">
+ <properties>
+ <help>Terminate all pppoe-server users</help>
+ </properties>
+ <command>/usr/bin/accel-cmd terminate all</command>
+ </leafNode>
+ <tagNode name="interface">
+ <properties>
+ <help>Terminate a ppp interface</help>
+ </properties>
+ <command>/usr/bin/accel-cmd terminate if "$4"</command>
+ </tagNode>
+ <tagNode name="username">
+ <properties>
+ <help>Terminate specified users</help>
+ </properties>
+ <command>/usr/bin/accel-cmd terminate match username "$4"</command>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
</interfaceDefinition>