summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-12 21:46:07 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-12 21:46:07 +0200
commit47bd0d8ab940bd8bb9b7c852ac80e0d9a3728a82 (patch)
treeff9fdebb2e106f8837e03a95324f3ff3f866ea7e /op-mode-definitions/include
parent8cb0b59fce842c9e69ebf1b9099abce2c6e21447 (diff)
downloadvyos-1x-47bd0d8ab940bd8bb9b7c852ac80e0d9a3728a82.tar.gz
vyos-1x-47bd0d8ab940bd8bb9b7c852ac80e0d9a3728a82.zip
xml: op-mode: T5081: re-use vtysh-generic-detail building block
Diffstat (limited to 'op-mode-definitions/include')
-rw-r--r--op-mode-definitions/include/isis-common.xml.i21
1 files changed, 3 insertions, 18 deletions
diff --git a/op-mode-definitions/include/isis-common.xml.i b/op-mode-definitions/include/isis-common.xml.i
index b5b4f9b5d..53be33b68 100644
--- a/op-mode-definitions/include/isis-common.xml.i
+++ b/op-mode-definitions/include/isis-common.xml.i
@@ -4,12 +4,7 @@
<help>Show IS-IS link state database</help>
</properties>
<children>
- <leafNode name="detail">
- <properties>
- <help>Show detailed information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </leafNode>
+ #include <include/vtysh-generic-detail.xml.i>
</children>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
@@ -36,12 +31,7 @@
</completionHelp>
</properties>
<children>
- <leafNode name="detail">
- <properties>
- <help>Show detailed information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </leafNode>
+ #include <include/vtysh-generic-detail.xml.i>
</children>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
@@ -95,12 +85,7 @@
<help>Show IS-IS neighbor adjacencies</help>
</properties>
<children>
- <leafNode name="detail">
- <properties>
- <help>Show detailed information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </leafNode>
+ #include <include/vtysh-generic-detail.xml.i>
</children>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>