From dcba3685345b0624c13f83211628136076feac79 Mon Sep 17 00:00:00 2001
From: Zhiyuan Wan <h@iloli.bid>
Date: Thu, 30 Mar 2023 16:41:13 +0800
Subject: T5123: op-mode: Support to show detailed ospf route table

Refer to <vyos-build> repository,
commit <2d71f974bf415e7df617afdf872204d6a596e74e>
---
 op-mode-definitions/include/ospf-common.xml.i | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'op-mode-definitions')

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 -->
-- 
cgit v1.2.3