From 0cdd2740f300a8b4ebfde931feb82610bcfd7f78 Mon Sep 17 00:00:00 2001 From: Sander Klein Date: Wed, 11 Jan 2023 20:01:17 +0100 Subject: Backport: T4918: op_mode interfaces: Fix show int `show interfaces ethernet eth0` and `show interface bonding eth0` produces the same output. While this is not a big problem it does make usage a bit odd sometimes. This commit adds the --intf_type option to all instances of interfaces.py to make output consistent. --- op-mode-definitions/show-interfaces-l2tpv3.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions/show-interfaces-l2tpv3.xml.in') diff --git a/op-mode-definitions/show-interfaces-l2tpv3.xml.in b/op-mode-definitions/show-interfaces-l2tpv3.xml.in index 2a1d6a1c6..f8483a368 100644 --- a/op-mode-definitions/show-interfaces-l2tpv3.xml.in +++ b/op-mode-definitions/show-interfaces-l2tpv3.xml.in @@ -11,13 +11,13 @@ interfaces l2tpv3 - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --intf-type=l2tpv3 Show summary of the specified L2TPv3 interface information - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief --intf-type=l2tpv3 -- cgit v1.2.3