summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-vrf.xml
blob: fb2fddd49a12949270a234fb0935cda9118a0549 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="vrf">
        <properties>
          <help>Show VRF information</help>
        </properties>
        <command>${vyos_completion_dir}/list_vrf.py -e</command>
        <children>
          <tagNode name="name">
            <properties>
              <help>Show VRF information for an interface</help>
                <completionHelp>
                  <script>${vyos_completion_dir}/list_vrf.py</script>
                </completionHelp>
            </properties>
            <command>${vyos_completion_dir}/list_vrf.py -e "$4"</command>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>