summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bgp.xml.in
blob: c33a9dacf66612877e686f64f33f91e09baa977e (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="bgp">
        <properties>
          <help>BGP information</help>
        </properties>
        <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
        <children>
          <node name="cidr-only">
            <properties>
              <help>Display only routes with non-natural netmasks</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            <children>
              #include <include/vtysh-generic-wide.xml.i>
            </children>
          </node>
          #include <include/bgp/show-bgp-common.xml.i>
          <node name="mac">
            <properties>
              <help>MAC address</help>
            </properties>
            <children>
              <leafNode name="hash">
                <properties>
                  <help>MAC address database</help>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
              </leafNode>
            </children>
          </node>
          <node name="martian">
            <properties>
              <help>martian next-hops</help>
            </properties>
            <children>
              <leafNode name="next-hop">
                <properties>
                  <help>martian next-hop database</help>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
              </leafNode>
            </children>
          </node>
          <leafNode name="memory">
            <properties>
              <help>Global BGP memory statistics</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          </leafNode>
          <node name="nexthop">
            <properties>
              <help>Show BGP nexthop table</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            <children>
              #include <include/vtysh-generic-detail.xml.i>
            </children>
          </node>
          <tagNode name="nexthop">
            <properties>
              <help>IPv4/IPv6 nexthop address</help>
              <completionHelp>
                <list>&lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
              </completionHelp>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            <children>
              #include <include/vtysh-generic-detail.xml.i>
            </children>
          </tagNode>
          <leafNode name="statistics">
            <properties>
              <help>BGP RIB advertisement statistics</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          </leafNode>
          <leafNode name="statistics-all">
            <properties>
              <help>Display number of prefixes for all afi/safi</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          </leafNode>
          <leafNode name="vrf">
            <properties>
              <help>Show BGP VRF information</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          </leafNode>
          <tagNode name="vrf">
            <properties>
              <help>Show BGP VRF related information</help>
              <completionHelp>
                <path>vrf name</path>
                <list>all</list>
              </completionHelp>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            <children>
              #include <include/bgp/show-bgp-common.xml.i>
            </children>
          </tagNode>
          #include <include/vtysh-generic-wide.xml.i>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>