summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-auth-local-users.xml.i
blob: 35c7a2a0635647ed9389c8169dc8e6f2bd7f2a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!-- included start from accel-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>
<!-- included end -->