summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
blob: b8dbe73b297c1e79e02243a9d3645cf3413097a0 (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
<!-- 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>RADIUS attribute that contains rate information</help>
      </properties>
      <defaultValue>Filter-Id</defaultValue>
    </leafNode>
    <leafNode name="vendor">
      <properties>
        <help>Vendor dictionary</help>
        <completionHelp>
          <list>alcatel cisco microsoft mikrotik</list>
        </completionHelp>
        <constraint>
          <validator name="accel-radius-dictionary" />
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="enable">
      <properties>
        <help>Enable 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 -->