summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-10 21:12:35 +0200
committerGitHub <noreply@github.com>2023-05-10 21:12:35 +0200
commit96d9bf0a88fc822b8edd78db293b7f17ae8766cf (patch)
treeb86c6991499991882e2ca9fff827f783c0bb23a0 /interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i
parentb469ed55403b25738949216f6f07ae9e70595db1 (diff)
parent98c310462dedbb3907e8ba871dab89ae7573e667 (diff)
downloadvyos-1x-96d9bf0a88fc822b8edd78db293b7f17ae8766cf.tar.gz
vyos-1x-96d9bf0a88fc822b8edd78db293b7f17ae8766cf.zip
Merge pull request #1988 from sever-sever/T5213
T5213: Add accounting-interim-interval option for L2TP/PPTP servers
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 -->