diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-14 10:03:31 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-14 12:04:43 +0100 |
commit | 7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc (patch) | |
tree | fa38fb6920830c55360fe776db8877907a85ba47 /op-mode-definitions | |
parent | 9eb979664c29a6e34b765df3e38cdf6d4c718be1 (diff) | |
download | vyos-1x-7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc.tar.gz vyos-1x-7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc.zip |
op_mode: T2223: convert xml to show_interfaces.py
Change all references to vyatta-show-interfaces.pl to use
the new python version
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/openvpn.xml | 6 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-pppoe.xml | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-wirelessmodem.xml | 2 | ||||
-rw-r--r-- | op-mode-definitions/wireless.xml | 16 |
4 files changed, 13 insertions, 13 deletions
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 @@ <properties> <help>Show detailed OpenVPN interface information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=openvpn --action=show</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=openvpn --action=show</command> </leafNode> </children> </node> @@ -98,13 +98,13 @@ <script>sudo ${vyos_completion_dir}/list_interfaces.py --type openvpn</script> </completionHelp> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf=$4</command> <children> <leafNode name="brief"> <properties> <help>Show summary of specified OpenVPN interface information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief</command> </leafNode> </children> </tagNode> 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 @@ <script>${vyos_completion_dir}/list_pppoe_peers.sh</script> </completionHelp> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl pppoe --intf="$4"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py pppoe --intf="$4"</command> <children> <node name="log"> <properties> 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 @@ <script>${vyos_completion_dir}/list_wlm_peers.sh</script> </completionHelp> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command> <children> <node name="log"> <properties> 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 @@ <properties> <help>Clear all wireless interface counters</help> </properties> - <command>sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"</command> + <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf-type="$3"</command> </leafNode> </children> </node> @@ -29,7 +29,7 @@ <properties> <help>Clear all wireless interface counters</help> </properties> - <command>sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"</command> + <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf="$4"</command> </leafNode> </children> </tagNode> @@ -45,13 +45,13 @@ <properties> <help>Show wireless interface information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show-brief</command> <children> <leafNode name="detail"> <properties> <help>Show detailed wireless interface information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show</command> </leafNode> <leafNode name="info"> <properties> @@ -68,13 +68,13 @@ <script>${vyos_completion_dir}/list_interfaces.py --type wireless</script> </completionHelp> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command> <children> <leafNode name="brief"> <properties> <help>Show summary of the specified wireless interface information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief</command> </leafNode> <node name="scan"> <properties> @@ -100,13 +100,13 @@ <properties> <help>Show specified virtual network interface (vif) information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6"</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6"</command> <children> <leafNode name="brief"> <properties> <help>Show summary of specified virtual network interface (vif) information</help> </properties> - <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief</command> </leafNode> </children> </tagNode> |