diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-12 20:24:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 20:24:36 +0100 |
commit | 80a0cee308c33d8cdc64014eb47558f48cc90f23 (patch) | |
tree | 55543359e7af24319f6347ea0b67592a4cf57fb8 /op-mode-definitions/show-interfaces-ethernet.xml.in | |
parent | f56221a096f63c8b16456738074acc5202fd7f8b (diff) | |
parent | 0cdd2740f300a8b4ebfde931feb82610bcfd7f78 (diff) | |
download | vyos-1x-80a0cee308c33d8cdc64014eb47558f48cc90f23.tar.gz vyos-1x-80a0cee308c33d8cdc64014eb47558f48cc90f23.zip |
Merge pull request #1750 from roedie/1.3-T4918
Backport: T4918: op_mode interfaces: Fix show int
Diffstat (limited to 'op-mode-definitions/show-interfaces-ethernet.xml.in')
-rw-r--r-- | op-mode-definitions/show-interfaces-ethernet.xml.in | 8 |
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 e414291d1..c1461939c 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}/show_interfaces.py --intf="$4"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$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}/show_interfaces.py --intf="$4" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief --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}/show_interfaces.py --intf="$4.$6"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$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}/show_interfaces.py --intf="$4.$6" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief --intf-type=ethernet</command> </leafNode> </children> </tagNode> |