summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-18 13:54:07 -0700
committerJohn Estabrook <jestabro@sentrium.io>2020-01-16 11:40:29 -0600
commit99ebe3e0c2bf362f9746361b922574b2e3c5eb9f (patch)
treea70da77906a5865e78cdbc2c247403e57e0e11d5 /interface-definitions
parente679b7827f3e3ddbb03dcdd8f49835520c21c438 (diff)
downloadvyos-1x-99ebe3e0c2bf362f9746361b922574b2e3c5eb9f.tar.gz
vyos-1x-99ebe3e0c2bf362f9746361b922574b2e3c5eb9f.zip
[pppoe-server] T1341 - Adding rate-limiter for pppoe server users
- RADIUS shaper settings (cherry picked from commit d4556b31e920197e1c58febb8d87a1765bfea81f)
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 65f2e8ccd..4cbfce8c0 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>
@@ -221,7 +239,6 @@
</leafNode>
</children>
</node>
-
<node name="client-ipv6-pool">
<properties>
<help>Pool of client IPv6 addresses</help>
@@ -366,25 +383,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>