summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bgp.xml.in
blob: 36e7062df6886b8ddc3e35ab0a87dfb640ec8708 (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
<?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>
          #include <include/bgp/show-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-bgp-common.xml.i>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>