summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ipv6-ospfv3.xml.in
blob: 82d6b5f4c91680a46713f01f826b43d11a983ce5 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ipv6">
        <properties>
          <help>Show IPv6 routing information</help>
        </properties>
        <children>
          <node name="ospfv3">
            <properties>
              <help>Show IPv6 Open Shortest Path First (OSPF)</help>
            </properties>
            <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            <children>
              <node name="area">
                <properties>
                  <help>Show Shortest Path First tree information</help>
                </properties>
                <command>vtysh -c "show ipv6 ospf6 spf tree"</command>
              </node>
              <tagNode name="area">
                <properties>
                  <help>Area ID (as an IPv4 notation)</help>
                  <completionHelp>
                    <path>protocols ospfv3 area</path>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show ipv6 ospf6 spf tree"</command>
                <children>
                  <tagNode name="router">
                    <properties>
                      <help> Simulate view point (Router ID)</help>
                      <completionHelp>
                        <list>&lt;x.x.x.x&gt;</list>
                      </completionHelp>
                    </properties>
                    <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ spf tree</command>
                  </tagNode>
                </children>
              </tagNode>
              #include <include/ospfv3/border-routers.xml.i>
              #include <include/ospfv3/database.xml.i>
              #include <include/ospfv3/interface.xml.i>
              #include <include/ospfv3/linkstate.xml.i>
              #include <include/ospfv3/neighbor.xml.i>
              #include <include/ospfv3/redistribute.xml.i>
              #include <include/ospfv3/route.xml.i>
              <node name="vrf">
                <properties>
                  <help>Specify the VRF</help>
                  <completionHelp>
                    <list>all</list>
                    <path>vrf name</path>
                  </completionHelp>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
              </node>
              <tagNode name="vrf">
                <properties>
                  <help>VRF name</help>
                  <completionHelp>
                    <list>all</list>
                    <path>vrf name</path>
                  </completionHelp>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
                <children>
                  <node name="area">
                    <properties>
                      <help>Show Shortest Path First tree information</help>
                    </properties>
                    <command>vtysh -c "show ipv6 ospf6 vrf $5 spf tree"</command>
                  </node>
                  #include <include/ospfv3/border-routers.xml.i>
                  #include <include/ospfv3/database.xml.i>
                  #include <include/ospfv3/interface.xml.i>
                  #include <include/ospfv3/linkstate.xml.i>
                  #include <include/ospfv3/neighbor.xml.i>
                  #include <include/ospfv3/redistribute.xml.i>
                  #include <include/ospfv3/route.xml.i>
                </children>
              </tagNode>
              <leafNode name="vrfs">
                <properties>
                  <help>Show OSPFv3 VRFs</help>
                </properties>
                <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
              </leafNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>