summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/bandwidth-auto.xml.i
blob: a86f2829671b6b502172122db849a4d715ebf3b0 (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
<!-- include start from qos/bandwidth-auto.xml.i -->
<leafNode name="bandwidth">
  <properties>
    <help>Available bandwidth for this policy</help>
    <completionHelp>
      <list>auto</list>
    </completionHelp>
    <valueHelp>
      <format>auto</format>
      <description>Bandwidth matches interface speed</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;</format>
      <description>Bits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;bit</format>
      <description>Bits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;kbit</format>
      <description>Kilobits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;mbit</format>
      <description>Megabits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;gbit</format>
      <description>Gigabits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;tbit</format>
      <description>Terabits per second</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;number&gt;%%</format>
      <description>Percentage of interface link speed</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--positive"/>
      <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit)|(100|\d(\d)?)%)</regex>
    </constraint>
  </properties>
  <defaultValue>auto</defaultValue>
</leafNode>
<!-- include end -->