summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-05-10 09:19:11 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-05-10 09:19:11 +0000
commit153f3579d703e16bbd0f82b1ac243f42c25af6bd (patch)
tree1df5e2b1f39f67fef289a0cd439ae3182215fac7 /interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
parent70e476760a9c5b42a5d3f8647e3b4ac361472871 (diff)
downloadvyos-1x-153f3579d703e16bbd0f82b1ac243f42c25af6bd.tar.gz
vyos-1x-153f3579d703e16bbd0f82b1ac243f42c25af6bd.zip
T5213: Add accounting-interim-interval option for L2TP-server
Add RADIUS accounting-interim-interval option for L2TP-server Specifies interval in seconds to send accounting information (may be overridden by radius Acct-Interim-Interval attribute) set vpn l2tp remote-access authentication radius accounting-interim-interval '120'
Diffstat (limited to 'interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i b/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
new file mode 100644
index 000000000..311ef969c
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from accel-ppp/radius-accounting-interim-interval.xml.i -->
+<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>
+<!-- include end -->