summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-04-21 13:47:47 +0100
committerGitHub <noreply@github.com>2023-04-21 13:47:47 +0100
commit192c8ed2bcadc08917d7751eb521a08b33e5117f (patch)
treeca5283d32a34969fa95b9ee1f1421bf7f28db5bd
parent97ef83ada9c42913bae3c80e0f2432bdf901312a (diff)
parent821bc4f511460123e958b8eaa2e588e4623fbfe6 (diff)
downloadvyos-1x-192c8ed2bcadc08917d7751eb521a08b33e5117f.tar.gz
vyos-1x-192c8ed2bcadc08917d7751eb521a08b33e5117f.zip
Merge pull request #1921 from rgwan/current
T5123: op-mode: Support to show detailed ospf route table
-rw-r--r--op-mode-definitions/include/ospf-common.xml.i15
1 files changed, 12 insertions, 3 deletions
diff --git a/op-mode-definitions/include/ospf-common.xml.i b/op-mode-definitions/include/ospf-common.xml.i
index aebbae5ff..979ffb07e 100644
--- a/op-mode-definitions/include/ospf-common.xml.i
+++ b/op-mode-definitions/include/ospf-common.xml.i
@@ -541,10 +541,19 @@
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</tagNode>
-<leafNode name="route">
+<node name="route">
<properties>
<help>Show IPv4 OSPF route information</help>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
-</leafNode>
-<!-- included end --> \ No newline at end of file
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show detailed IPv4 OSPF route information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+</node>
+<!-- included end -->
+