summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/auth-local-users.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 16:44:55 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 16:54:39 +0100
commit59ad580cdea2e66e24470ee3d84f29a8619b7bf9 (patch)
treec66f98ef886f51f6ab6bebbf3fcaef13b5114b35 /interface-definitions/include/accel-ppp/auth-local-users.xml.i
parentb331f6e7ba6e26d5e375121df675d97d2abfd3ac (diff)
downloadvyos-1x-59ad580cdea2e66e24470ee3d84f29a8619b7bf9.tar.gz
vyos-1x-59ad580cdea2e66e24470ee3d84f29a8619b7bf9.zip
xml: accel-ppp: move building blocks to subfolder
As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense.
Diffstat (limited to 'interface-definitions/include/accel-ppp/auth-local-users.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/auth-local-users.xml.i51
1 files changed, 51 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/auth-local-users.xml.i b/interface-definitions/include/accel-ppp/auth-local-users.xml.i
new file mode 100644
index 000000000..308d6510d
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/auth-local-users.xml.i
@@ -0,0 +1,51 @@
+<!-- include start from accel-ppp/auth-local-users.xml.i -->
+<node name="local-users">
+ <properties>
+ <help>Local user authentication for PPPoE server</help>
+ </properties>
+ <children>
+ <tagNode name="username">
+ <properties>
+ <help>User name for authentication</help>
+ </properties>
+ <children>
+ #include <include/generic-disable-node.xml.i>
+ <leafNode name="password">
+ <properties>
+ <help>Password for authentication</help>
+ </properties>
+ </leafNode>
+ <leafNode name="static-ip">
+ <properties>
+ <help>Static client IP address</help>
+ </properties>
+ <defaultValue>*</defaultValue>
+ </leafNode>
+ <node name="rate-limit">
+ <properties>
+ <help>Upload/Download speed limits</help>
+ </properties>
+ <children>
+ <leafNode name="upload">
+ <properties>
+ <help>Upload bandwidth limit in kbits/sec</help>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10000000"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="download">
+ <properties>
+ <help>Download bandwidth limit in kbits/sec</help>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10000000"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </tagNode>
+ </children>
+</node>
+<!-- include end -->