summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-18 13:54:07 -0700
committerhagbard <vyosdev@derith.de>2019-04-18 13:55:35 -0700
commitd4556b31e920197e1c58febb8d87a1765bfea81f (patch)
treed3ec00b2c2fdc04ef66cf4b99bed5c983bf191ec /interface-definitions
parentc1dc93391b9ec1785ab648fa7685521c85774d28 (diff)
downloadvyos-1x-d4556b31e920197e1c58febb8d87a1765bfea81f.tar.gz
vyos-1x-d4556b31e920197e1c58febb8d87a1765bfea81f.zip
[pppoe-server] T1341 - Adding rate-limiter for pppoe server users
- RADIUS shaper settings
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/pppoe-server.xml38
1 files changed, 18 insertions, 20 deletions
diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml
index 79bc0ebce..ffffe0302 100644
--- a/interface-definitions/pppoe-server.xml
+++ b/interface-definitions/pppoe-server.xml
@@ -184,6 +184,24 @@
</leafNode>
</children>
</node>
+ <node name="rate-limit">
+ <properties>
+ <help>Upload/Download speed limits</help>
+ </properties>
+ <children>
+ <leafNode name="attribute">
+ <properties>
+ <help>Specifies which radius attribute contains rate information. (default is Filter-ID)</help>
+ </properties>
+ </leafNode>
+ <leafNode name="enable">
+ <properties>
+ <help>Enables Bandwidth shaping via RADIUS</help>
+ <valueless />
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>
@@ -211,7 +229,6 @@
</leafNode>
</children>
</node>
-
<node name="client-ipv6-pool">
<properties>
<help>Pool of client IPv6 addresses</help>
@@ -356,25 +373,6 @@
</leafNode>
</children>
</node>
- <node name="radius">
- <properties>
- <help>RADIUS settings</help>
- </properties>
- <children>
- <leafNode name="default-interim-interval">
- <properties>
- <help>Default interim accounting interval</help>
- <valueHelp>
- <format>text</format>
- <description>Use local username/password configuration</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 60-10000000"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
<leafNode name="service-name">
<properties>
<help>Service name</help>