diff --git a/op-mode-definitions/show-interfaces-thunderbolt.xml.in b/op-mode-definitions/show-interfaces-thunderbolt.xml.in index af70ab66946..afa4b0fbc4d 100644 --- a/op-mode-definitions/show-interfaces-thunderbolt.xml.in +++ b/op-mode-definitions/show-interfaces-thunderbolt.xml.in @@ -19,6 +19,43 @@ ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=thunderbolt + + + Show physical device information for specified thunderbolt interface + + ethtool --driver "$4" + + + + Show physical device offloading capabilities + + ethtool --show-features "$4" | sed -e 1d -e '/fixed/d' -e 's/^\t*//g' -e 's/://' | column -t -s' ' + + + + + + Show physical device statistics for specified thunderbolt interface + + ethtool --statistics "$4" + + + + Show specified virtual network interface (vif) information + + interfaces thunderbolt ${COMP_WORDS[3]} vif + + + ${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4.$6" --intf-type=thunderbolt + + + + Show summary of specified virtual network interface (vif) information + + ${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4.$6" --intf-type=thunderbolt + + +