Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F117521143
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml
index a2366c710..1f6f7f844 100644
--- a/op-mode-definitions/pppoe-server.xml
+++ b/op-mode-definitions/pppoe-server.xml
@@ -1,32 +1,42 @@
<?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 ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'</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>
+ <node name="restart">
+ <children>
+ <leafNode name="pppoe-server">
+ <properties>
+ <help>Restarts pppoe-server</help>
+ </properties>
+ <command>if [ -e /var/run/accel_pppoe.pid ]; then /usr/bin/accel-cmd restart -p 2001; else echo "pppoe-server not running"; fi</command>
+ </leafNode>
+ </children>
+ </node>
</interfaceDefinition>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Sep 26, 1:58 PM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4285327
Default Alt Text
(1 KB)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment