summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-ethernet.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-01-11 12:03:48 -0600
committerGitHub <noreply@github.com>2023-01-11 12:03:48 -0600
commit68a036238522a210dc5c12fabd4ca833ab43d4bf (patch)
treec6bdc216ba82fd3fd7b45f1a0f69f427c0afdbd4 /op-mode-definitions/show-interfaces-ethernet.xml.in
parentf9a6c00a2550911137457a2b73fd43255f46fcd3 (diff)
parent41b3ecca0eb1676467fea343ff4490ab02d77cb3 (diff)
downloadvyos-1x-68a036238522a210dc5c12fabd4ca833ab43d4bf.tar.gz
vyos-1x-68a036238522a210dc5c12fabd4ca833ab43d4bf.zip
Merge pull request #1742 from roedie/T4918
T4918: op_mode interfaces: Fix show interfaces
Diffstat (limited to 'op-mode-definitions/show-interfaces-ethernet.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-ethernet.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml.in b/op-mode-definitions/show-interfaces-ethernet.xml.in
index 40d4adbb2..81759c2b6 100644
--- a/op-mode-definitions/show-interfaces-ethernet.xml.in
+++ b/op-mode-definitions/show-interfaces-ethernet.xml.in
@@ -11,13 +11,13 @@
<path>interfaces ethernet</path>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4"</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4" --intf_type=ethernet</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of the specified ethernet interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4"</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4" --intf_type=ethernet</command>
</leafNode>
<leafNode name="identify">
<properties>
@@ -58,13 +58,13 @@
<path>interfaces ethernet ${COMP_WORDS[3]} vif</path>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4.$6"</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4.$6" --intf_type=ethernet</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of specified virtual network interface (vif) information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4.$6"</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4.$6" --intf_type=ethernet</command>
</leafNode>
</children>
</tagNode>