diff options
author | hagbard <vyosdev@derith.de> | 2019-04-17 15:02:38 -0700 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2020-01-16 11:40:29 -0600 |
commit | 0c5658a7297dad4130d17fe6c507d41632d55a9d (patch) | |
tree | 7e742a7bb87762d50e9d129777d972467b111ecb | |
parent | e2ec9af40f418ba1a5fce1dd56296f873609e06d (diff) | |
download | vyos-1x-0c5658a7297dad4130d17fe6c507d41632d55a9d.tar.gz vyos-1x-0c5658a7297dad4130d17fe6c507d41632d55a9d.zip |
[accel-ppp] pppoe shaper op-mode command extended
(cherry picked from commit d748e526ca50f3acb98ec511fab977c4b044aea8)
-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 31f439c68..fb40b5c54 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 %} |