diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/pppoe-server.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml index 1f6f7f844..13a4570e8 100644 --- a/op-mode-definitions/pppoe-server.xml +++ b/op-mode-definitions/pppoe-server.xml @@ -39,4 +39,36 @@ </leafNode> </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> |