summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-interfaces.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces.xml.in44
1 files changed, 22 insertions, 22 deletions
diff --git a/op-mode-definitions/show-interfaces.xml.in b/op-mode-definitions/show-interfaces.xml.in
index 2d94080c7..e2d7d3dd3 100644
--- a/op-mode-definitions/show-interfaces.xml.in
+++ b/op-mode-definitions/show-interfaces.xml.in
@@ -26,34 +26,34 @@
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show_summary</command>
</leafNode>
- <tagNode name="kernel">
- <properties>
- <completionHelp>
- <script>ip -j link show | jq -r '.[].ifname'</script>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4</command>
- <children>
- <leafNode name="detail">
- <properties>
- <help>Show system interface in JSON format</help>
- </properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4 --detail</command>
- </leafNode>
- <leafNode name="json">
- <properties>
- <help>Show system interface in JSON format</help>
- </properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4 --raw</command>
- </leafNode>
- </children>
- </tagNode>
<node name="kernel">
<properties>
<help>Show all interfaces on this system</help>
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show_kernel</command>
<children>
+ <virtualTagNode>
+ <properties>
+ <completionHelp>
+ <script>ip -j link show | jq -r '.[].ifname'</script>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4</command>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show system interface in JSON format</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4 --detail</command>
+ </leafNode>
+ <leafNode name="json">
+ <properties>
+ <help>Show system interface in JSON format</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_kernel --intf-name=$4 --raw</command>
+ </leafNode>
+ </children>
+ </virtualTagNode>
<leafNode name="detail">
<properties>
<help>Show system interface in JSON format</help>