summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-monitoring.xml.in
blob: 9fd60e45ad30f01494e78a481f8b7d811e9bde56 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="monitoring">
        <properties>
          <help>Show currently monitored services</help>
        </properties>
        <children>
          <node name="frr">
            <properties>
              <help>Show currently monitored FRR services</help>
            </properties>
            <command>vtysh -c "show debugging"</command>
            <children>
              <node name="zebra">
                <properties>
                  <help>Show Zebra routing information</help>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command>
                <children>
                  <node name="client">
                    <properties>
                      <help>Client information</help>
                    </properties>
                    <children>
                      <node name="summary">
                        <properties>
                          <help>Brief summary</help>
                        </properties>
                        <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command>
                      </node>
                    </children>
                  </node>
                  <node name="dplane">
                    <properties>
                      <help>Zebra dataplane information</help>
                    </properties>
                    <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command>
                  </node>
                  <node name="router">
                    <properties>
                      <help>Zebra router information</help>
                    </properties>
                    <children>
                      <node name="table">
                        <properties>
                          <help>Zebra routing table information</help>
                        </properties>
                        <children>
                          <node name="summary">
                            <properties>
                              <help>Summary information</help>
                            </properties>
                            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command>
                          </node>
                        </children>
                      </node>
                    </children>
                  </node>
                </children>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>