From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/show-interfaces-bonding.xml | 71 ------------------------- 1 file changed, 71 deletions(-) delete mode 100644 op-mode-definitions/show-interfaces-bonding.xml (limited to 'op-mode-definitions/show-interfaces-bonding.xml') diff --git a/op-mode-definitions/show-interfaces-bonding.xml b/op-mode-definitions/show-interfaces-bonding.xml deleted file mode 100644 index f6d9b3508..000000000 --- a/op-mode-definitions/show-interfaces-bonding.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - Show bonding interface information - - interfaces bonding - - - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" - - - - Show summary of the specified bonding interface information - - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief - - - - Show detailed interface information - - if [ -f "/proc/net/bonding/$4" ]; then cat "/proc/net/bonding/$4"; else echo "Interface $4 does not exist!"; fi - - - - Show specified virtual network interface (vif) information - - interfaces bonding ${COMP_WORDS[3]} vif - - - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" - - - - Show summary of specified virtual network interface (vif) information - - ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief - - - - - - Show eXpress Data Path statistics - - sudo ${vyos_op_scripts_dir}/show_xdp_stats.sh bonding "$4" - - - - - - Show bonding interface information - - ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=bonding --action=show-brief - - - - Show detailed bonding interface information - - ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=bonding --action=show - - - - - - - - -- cgit v1.2.3