From edc64e7fb63757a3779df12945ecefca9c462952 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 25 Jun 2025 17:35:01 +0100 Subject: op-mode: T7560: add support for virtual tag nodes for cases when commands need both fixed and variable arguments --- op-mode-definitions/show-interfaces-bonding.xml.in | 117 ++++++++++----------- 1 file changed, 58 insertions(+), 59 deletions(-) (limited to 'op-mode-definitions/show-interfaces-bonding.xml.in') diff --git a/op-mode-definitions/show-interfaces-bonding.xml.in b/op-mode-definitions/show-interfaces-bonding.xml.in index 839a4cd91..58f754ad6 100644 --- a/op-mode-definitions/show-interfaces-bonding.xml.in +++ b/op-mode-definitions/show-interfaces-bonding.xml.in @@ -4,26 +4,17 @@ - + - Show specified Bonding interface information - - interfaces bonding - + Show specified bonding interface information ${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=bonding - - - Show summary of the specified bonding interface information - - ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=bonding - - Show detailed interface information + Show detailed bonding interface information - ${vyos_op_scripts_dir}/show_bonding_detail.sh "$4" + ${vyos_op_scripts_dir}/interfaces.py show --intf-type=bonding @@ -34,13 +25,7 @@ Show LACP details - ${vyos_op_scripts_dir}/bonding.py show_lacp_detail --interface="$4" - - - - Show LACP Neighbors - - ${vyos_op_scripts_dir}/bonding.py show_lacp_neighbors --interface="$4" + ${vyos_op_scripts_dir}/bonding.py show_lacp_detail @@ -48,59 +33,73 @@ Show specified bonding interface information - ${vyos_op_scripts_dir}/show-bond.py --interface "$4" + ${vyos_op_scripts_dir}/show-bond.py --slaves - + - Show specified virtual network interface (vif) information - interfaces bonding ${COMP_WORDS[3]} vif + interfaces bonding - - ${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4.$6" --intf-type=bonding + + ${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=bonding - Show summary of specified virtual network interface (vif) information + Show summary of the specified bonding interface information - ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4.$6" --intf-type=bonding + ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=bonding - - - #include - - - - - Show Bonding interface information - - ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-type=bonding - - - - Show detailed bonding interface information - - ${vyos_op_scripts_dir}/interfaces.py show --intf-type=bonding - - - - Show LACP related info - - - Show LACP details + Show detailed interface information - ${vyos_op_scripts_dir}/bonding.py show_lacp_detail + ${vyos_op_scripts_dir}/show_bonding_detail.sh "$4" + + + + Show LACP related info + + + + + Show LACP details + + ${vyos_op_scripts_dir}/bonding.py show_lacp_detail --interface="$4" + + + + Show LACP Neighbors + + ${vyos_op_scripts_dir}/bonding.py show_lacp_neighbors --interface="$4" + + + + + + Show specified bonding interface information + + ${vyos_op_scripts_dir}/show-bond.py --interface "$4" + + + Show specified virtual network interface (vif) information + + interfaces bonding ${COMP_WORDS[3]} vif + + + ${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4.$6" --intf-type=bonding + + + + Show summary of specified virtual network interface (vif) information + + ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4.$6" --intf-type=bonding + + + + #include - - - - Show specified bonding interface information - - ${vyos_op_scripts_dir}/show-bond.py --slaves - + -- cgit v1.2.3