diff options
author | hagbard <vyosdev@derith.de> | 2019-04-17 15:02:38 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-04-17 15:02:38 -0700 |
commit | d748e526ca50f3acb98ec511fab977c4b044aea8 (patch) | |
tree | 20471f97d2e35fa262297c41b3745d91385334dd | |
parent | b294382d8f8ce0efe0cdacae575ce4adccbd6eaa (diff) | |
download | vyos-1x-d748e526ca50f3acb98ec511fab977c4b044aea8.tar.gz vyos-1x-d748e526ca50f3acb98ec511fab977c4b044aea8.zip |
[accel-ppp] pppoe shaper op-mode command extended
-rw-r--r-- | op-mode-definitions/pppoe-server.xml | 2 | ||||
-rwxr-xr-x | src/conf_mode/accel_pppoe.py | 2 |
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 %} |