summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-04-19 10:54:36 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-05-16 14:00:11 +0000
commitb9e1a141ee2a4767ec312de1251eabb802913de7 (patch)
tree626f4e3b9d5425aa5d9a1f7f355920dacb97d149 /interface-definitions/include/accel-ppp
parentd32ee4ad297c8754d0841b84b958a12a926cfef9 (diff)
downloadvyos-1x-b9e1a141ee2a4767ec312de1251eabb802913de7.tar.gz
vyos-1x-b9e1a141ee2a4767ec312de1251eabb802913de7.zip
pppoe-server: T4373: Add option multiplier for correct shaping
Multiplier option is required by some vendors for correct shaping For RADIUS based rate-limits edit service pppoe-server set authentication radius rate-limit multiplier '0.001'
Diffstat (limited to 'interface-definitions/include/accel-ppp')
-rw-r--r--interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
index be49fce5a..f44920c3f 100644
--- a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
+++ b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
@@ -21,6 +21,20 @@
<valueless />
</properties>
</leafNode>
+ <leafNode name="multiplier">
+ <properties>
+ <help>Shaper multiplier</help>
+ <valueHelp>
+ <format>&lt;0.001-1000&gt;</format>
+ <description>Shaper multiplier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0.001-1000 --float"/>
+ </constraint>
+ <constraintErrorMessage>Multiplier needs to be between 0.001 and 1000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1</defaultValue>
+ </leafNode>
</children>
</node>
<!-- include end -->