summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-ospf.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-ip-ospf.xml.in')
-rw-r--r--op-mode-definitions/show-ip-ospf.xml.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip-ospf.xml.in b/op-mode-definitions/show-ip-ospf.xml.in
new file mode 100644
index 000000000..704ed984f
--- /dev/null
+++ b/op-mode-definitions/show-ip-ospf.xml.in
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ip">
+ <properties>
+ <help>Show IPv4 routing information</help>
+ </properties>
+ <children>
+ <node name="ospf">
+ <properties>
+ <help>Show IPv4 Open Shortest Path First (OSPF) routing information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/ospf-common.xml.i>
+ <tagNode name="vrf">
+ <properties>
+ <help>Show OSPF routing protocol for given VRF</help>
+ <completionHelp>
+ <path>vrf name</path>
+ <list>all</list>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/ospf-common.xml.i>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>