summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ipoe-server.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-26 14:00:33 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-26 15:07:28 +0000
commit2295961ee36475082bef76dc84aa35226a87593c (patch)
tree8c179e545dfbc4b5b4f811d0495a9bf7ad1fe3fc /src/conf_mode/service_ipoe-server.py
parent9717d6630144a4c1acaa473d1bdacf2536f8e041 (diff)
downloadvyos-1x-2295961ee36475082bef76dc84aa35226a87593c.tar.gz
vyos-1x-2295961ee36475082bef76dc84aa35226a87593c.zip
accel-ppp: T2918: Add accounting interim jitter option
Diffstat (limited to 'src/conf_mode/service_ipoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_ipoe-server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py
index 96cf932d1..87c7754f3 100755
--- a/src/conf_mode/service_ipoe-server.py
+++ b/src/conf_mode/service_ipoe-server.py
@@ -43,6 +43,7 @@ default_config_data = {
'client_ipv6_pool': [],
'client_ipv6_delegate_prefix': [],
'radius_server': [],
+ 'radius_acct_inter_jitter': '',
'radius_acct_tmo': '3',
'radius_max_try': '3',
'radius_timeout': '3',
@@ -174,6 +175,10 @@ def get_config(config=None):
#
# advanced radius-setting
conf.set_level(base_path + ['authentication', 'radius'])
+
+ if conf.exists(['acct-interim-jitter']):
+ ipoe['radius_acct_inter_jitter'] = conf.return_value(['acct-interim-jitter'])
+
if conf.exists(['acct-timeout']):
ipoe['radius_acct_tmo'] = conf.return_value(['acct-timeout'])