summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-17 15:02:38 -0700
committerhagbard <vyosdev@derith.de>2019-04-17 15:02:38 -0700
commitd748e526ca50f3acb98ec511fab977c4b044aea8 (patch)
tree20471f97d2e35fa262297c41b3745d91385334dd
parentb294382d8f8ce0efe0cdacae575ce4adccbd6eaa (diff)
downloadvyos-1x-d748e526ca50f3acb98ec511fab977c4b044aea8.tar.gz
vyos-1x-d748e526ca50f3acb98ec511fab977c4b044aea8.zip
[accel-ppp] pppoe shaper op-mode command extended
-rw-r--r--op-mode-definitions/pppoe-server.xml2
-rwxr-xr-xsrc/conf_mode/accel_pppoe.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml
index 7c0b05484..d8a518573 100644
--- a/op-mode-definitions/pppoe-server.xml
+++ b/op-mode-definitions/pppoe-server.xml
@@ -11,7 +11,7 @@
<properties>
<help>Show active PPPoE server sessions</help>
</properties>
- <command>/usr/bin/accel-cmd 'show sessions'</command>
+ <command>/usr/bin/accel-cmd 'show sessions ifname,username,ip,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'</command>
</leafNode>
<leafNode name="statistics">
<properties>
diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py
index f0a7fcf96..0054c99db 100755
--- a/src/conf_mode/accel_pppoe.py
+++ b/src/conf_mode/accel_pppoe.py
@@ -54,7 +54,7 @@ auth_chap_md5
auth_mschap_v1
auth_mschap_v2
#pppd_compat
-#shaper
+shaper
{% if snmp == 'enable' or snmp == 'enable-ma' %}
net-snmp
{% endif %}