summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/bandwidth.xml.i
blob: f2848f066574aa0a74317a642b21eccdf6a4238f (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
<!-- include start from qos/bandwidth.xml.i -->
<leafNode name="bandwidth">
  <properties>
    <help>Available bandwidth for this policy</help>
    <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>(\d+(bit|kbit|mbit|gbit|tbit)|(100|\d(\d)?)%)</regex>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->