summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiyuan Wan <h@iloli.bid>2023-03-30 16:41:13 +0800
committerZhiyuan Wan <h@iloli.bid>2023-03-30 16:41:26 +0800
commitdcba3685345b0624c13f83211628136076feac79 (patch)
treefaefa1b57c7a2bc0d4b570ba47ca164b4c74e233
parent623dfc9d87d513bd69e5e6eef9664056dc1a45f1 (diff)
downloadvyos-1x-dcba3685345b0624c13f83211628136076feac79.tar.gz
vyos-1x-dcba3685345b0624c13f83211628136076feac79.zip
T5123: op-mode: Support to show detailed ospf route table
Refer to <vyos-build> repository, commit <2d71f974bf415e7df617afdf872204d6a596e74e>
-rw-r--r--op-mode-definitions/include/ospf-common.xml.i12
1 files changed, 10 insertions, 2 deletions
diff --git a/op-mode-definitions/include/ospf-common.xml.i b/op-mode-definitions/include/ospf-common.xml.i
index 098254f4e..14b7839ec 100644
--- a/op-mode-definitions/include/ospf-common.xml.i
+++ b/op-mode-definitions/include/ospf-common.xml.i
@@ -541,10 +541,18 @@
</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>
+ <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 -->