From 7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Tue, 14 Apr 2020 10:03:31 +0100 Subject: op_mode: T2223: convert xml to show_interfaces.py Change all references to vyatta-show-interfaces.pl to use the new python version --- op-mode-definitions/openvpn.xml | 6 +++--- op-mode-definitions/show-interfaces-pppoe.xml | 2 +- op-mode-definitions/show-interfaces-wirelessmodem.xml | 2 +- op-mode-definitions/wireless.xml | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/openvpn.xml b/op-mode-definitions/openvpn.xml index d7c4fc101..53c0157c6 100644 --- a/op-mode-definitions/openvpn.xml +++ b/op-mode-definitions/openvpn.xml @@ -87,7 +87,7 @@ Show detailed OpenVPN interface information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=openvpn --action=show + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=openvpn --action=show @@ -98,13 +98,13 @@ - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 + ${vyos_op_scripts_dir}/show_interfaces.py --intf=$4 Show summary of specified OpenVPN interface information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief diff --git a/op-mode-definitions/show-interfaces-pppoe.xml b/op-mode-definitions/show-interfaces-pppoe.xml index 591ec8f5b..e68d05da9 100644 --- a/op-mode-definitions/show-interfaces-pppoe.xml +++ b/op-mode-definitions/show-interfaces-pppoe.xml @@ -11,7 +11,7 @@ - ${vyatta_bindir}/vyatta-show-interfaces.pl pppoe --intf="$4" + ${vyos_op_scripts_dir}/show_interfaces.py pppoe --intf="$4" diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml b/op-mode-definitions/show-interfaces-wirelessmodem.xml index 681f54f3d..c17efbc4e 100644 --- a/op-mode-definitions/show-interfaces-wirelessmodem.xml +++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml @@ -11,7 +11,7 @@ - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" diff --git a/op-mode-definitions/wireless.xml b/op-mode-definitions/wireless.xml index c3c6dee59..a3a9d1f55 100644 --- a/op-mode-definitions/wireless.xml +++ b/op-mode-definitions/wireless.xml @@ -13,7 +13,7 @@ Clear all wireless interface counters - sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" + sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf-type="$3" @@ -29,7 +29,7 @@ Clear all wireless interface counters - sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" + sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf="$4" @@ -45,13 +45,13 @@ Show wireless interface information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show-brief + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show-brief Show detailed wireless interface information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show @@ -68,13 +68,13 @@ - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" Show summary of the specified wireless interface information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief @@ -100,13 +100,13 @@ Show specified virtual network interface (vif) information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" Show summary of specified virtual network interface (vif) information - ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief -- cgit v1.2.3