summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-05-09 11:33:04 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-05-09 11:33:04 +0000
commit718d11daa2bd74b1b3318a9fdd54bd878ea5ff3e (patch)
tree1f13608dd8fd1fdf4404cc646c19f5437ee38d6b /interface-definitions
parent36a60cd14733ca2695144b085d5b444c2e3625d3 (diff)
downloadvyos-1x-718d11daa2bd74b1b3318a9fdd54bd878ea5ff3e.tar.gz
vyos-1x-718d11daa2bd74b1b3318a9fdd54bd878ea5ff3e.zip
T5213: Add accounting-interim-interval option for PPPoE IPoE SSTP
Add RADIUS accounting-interim-interval option for PPPoE/IPoE/SSTP servers. Specifies interval in seconds to send accounting information (may be overridden by radius Acct-Interim-Interval attribute) set service pppoe-server authentication radius accounting-interim-interval '60'
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-ppp/radius-additions.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions.xml.i b/interface-definitions/include/accel-ppp/radius-additions.xml.i
index 15ff5165f..cdd0bf300 100644
--- a/interface-definitions/include/accel-ppp/radius-additions.xml.i
+++ b/interface-definitions/include/accel-ppp/radius-additions.xml.i
@@ -1,6 +1,19 @@
<!-- include start from accel-ppp/radius-additions.xml.i -->
<node name="radius">
<children>
+ <leafNode name="accounting-interim-interval">
+ <properties>
+ <help>Interval in seconds to send accounting information</help>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Interval in seconds to send accounting information</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-3600"/>
+ </constraint>
+ <constraintErrorMessage>Interval value must be between 1 and 3600 seconds</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="acct-interim-jitter">
<properties>
<help>Maximum jitter value in seconds to be applied to accounting information interval</help>