summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-qos.xml.in
blob: 8974e9541ca8f954a3c5c9a4313ce1963ec90f62 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" ?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="qos">
        <properties>
          <help>Show Quality of Service (QoS) information</help>
        </properties>
        <children>
          <node name="cake">
            <properties>
              <help>Show QoS CAKE information</help>
            </properties>
            <children>
              <tagNode name="interface">
                <properties>
                  <help>Show QoS CAKE for given interface</help>
                  <completionHelp>
                    <path>qos interface</path>
                    <list>&lt;interface&gt;</list>
                  </completionHelp>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/qos.py show_cake --ifname $5</command>
              </tagNode>
            </children>
          </node>
          <node name="shaper">
            <properties>
              <help>Show QoS shaping information</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper</command>
            <children>
              <leafNode name="detail">
                <properties>
                  <help>Show QoS detailed information</help>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper --detail</command>
              </leafNode>
              <tagNode name="interface">
                <properties>
                  <help>Show QoS shaping for given interface</help>
                  <completionHelp>
                    <path>qos interface</path>
                    <list>&lt;interface&gt;</list>
                  </completionHelp>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper --ifname $5</command>
                <children>
                  <tagNode name="class">
                    <properties>
                      <help>Show QoS shaping for given class</help>
                      <completionHelp>
                        <list>&lt;class&gt;</list>
                      </completionHelp>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper --ifname $5 --classn $7</command>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show QoS detailed information for given class</help>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper --ifname $5 --classn $7 --detail</command>
                      </leafNode>
                    </children>
                  </tagNode>
                  <leafNode name="detail">
                    <properties>
                      <help>Show QoS detailed information for given interface</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/qos.py show_shaper --ifname $5 --detail</command>
                  </leafNode>
                </children>
              </tagNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>