summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-bgp.xml.in
blob: ecef320bf8f4e2c9b48db1d5fd0e9b81fc383ff6 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ip">
        <children>
          <node name="bgp">
            <properties>
              <help>Show Border Gateway Protocol (BGP) information</help>
            </properties>
            <command>vtysh -c "show ip bgp"</command>
            <children>
              #include <include/bgp/show-ip-bgp-common.xml.i>
              <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-ip-bgp-common.xml.i>
                </children>
              </tagNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>