summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-loopback.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-06-26 15:29:43 +0100
committerGitHub <noreply@github.com>2025-06-26 15:29:43 +0100
commit062f7f4e7cd7d71cba56d168f9f99344e9044b59 (patch)
treef17a96f9726cdffcb2ef2fab10309f4b313ed8cc /op-mode-definitions/show-interfaces-loopback.xml.in
parent5c2f70ffd82047740a91be949af5098a6ee39c2c (diff)
parentedc64e7fb63757a3779df12945ecefca9c462952 (diff)
downloadvyos-1x-062f7f4e7cd7d71cba56d168f9f99344e9044b59.tar.gz
vyos-1x-062f7f4e7cd7d71cba56d168f9f99344e9044b59.zip
Merge pull request #4565 from dmbaturin/T7560-op-virtual-tag-nodes
op-mode: T7560: add support for virtual tag nodes
Diffstat (limited to 'op-mode-definitions/show-interfaces-loopback.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-loopback.xml.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/op-mode-definitions/show-interfaces-loopback.xml.in b/op-mode-definitions/show-interfaces-loopback.xml.in
index 467e1a13d..028d1c079 100644
--- a/op-mode-definitions/show-interfaces-loopback.xml.in
+++ b/op-mode-definitions/show-interfaces-loopback.xml.in
@@ -4,25 +4,7 @@
<children>
<node name="interfaces">
<children>
- <tagNode name="loopback">
- <properties>
- <help>Show specified Loopback interface information</help>
- <completionHelp>
- <path>interfaces loopback</path>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=loopback</command>
- <children>
- <leafNode name="brief">
- <properties>
- <help>Show summary of the specified Loopback interface information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=loopback</command>
- </leafNode>
- #include <include/show-interface-type-event-log.xml.i>
- </children>
- </tagNode>
- <node name="loopback">
+ <node name="loopback">
<properties>
<help>Show Loopback interface information</help>
</properties>
@@ -34,6 +16,24 @@
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show --intf-type=loopback</command>
</leafNode>
+ <virtualTagNode>
+ <properties>
+ <help>Show specified Loopback interface information</help>
+ <completionHelp>
+ <path>interfaces loopback</path>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=loopback</command>
+ <children>
+ <leafNode name="brief">
+ <properties>
+ <help>Show summary of the specified Loopback interface information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=loopback</command>
+ </leafNode>
+ #include <include/show-interface-type-event-log.xml.i>
+ </children>
+ </virtualTagNode>
</children>
</node>
</children>