summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
blob: f44920c3fefd0ee836c93b2e9d1aff58f8afeb73 (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
<!-- include start from accel-ppp/radius-additions-rate-limit.xml.i -->
<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>
      <defaultValue>Filter-Id</defaultValue>
    </leafNode>
    <leafNode name="vendor">
      <properties>
        <help>Specifies the vendor dictionary. (dictionary needs to be in /usr/share/accel-ppp/radius)</help>
      </properties>
    </leafNode>
    <leafNode name="enable">
      <properties>
        <help>Enables Bandwidth shaping via RADIUS</help>
        <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 -->