File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 19
19
</properties >
20
20
<command >${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=thunderbolt</command >
21
21
</leafNode >
22
+ <node name =" physical" >
23
+ <properties >
24
+ <help >Show physical device information for specified thunderbolt interface</help >
25
+ </properties >
26
+ <command >ethtool --driver "$4"</command >
27
+ <children >
28
+ <leafNode name =" offload" >
29
+ <properties >
30
+ <help >Show physical device offloading capabilities</help >
31
+ </properties >
32
+ <command >ethtool --show-features "$4" | sed -e 1d -e '/fixed/d' -e 's/^\t*//g' -e 's/://' | column -t -s' '</command >
33
+ </leafNode >
34
+ </children >
35
+ </node >
36
+ <leafNode name =" statistics" >
37
+ <properties >
38
+ <help >Show physical device statistics for specified thunderbolt interface</help >
39
+ </properties >
40
+ <command >ethtool --statistics "$4"</command >
41
+ </leafNode >
42
+ <tagNode name =" vif" >
43
+ <properties >
44
+ <help >Show specified virtual network interface (vif) information</help >
45
+ <completionHelp >
46
+ <path >interfaces thunderbolt ${COMP_WORDS[3]} vif</path >
47
+ </completionHelp >
48
+ </properties >
49
+ <command >${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4.$6" --intf-type=thunderbolt</command >
50
+ <children >
51
+ <leafNode name =" brief" >
52
+ <properties >
53
+ <help >Show summary of specified virtual network interface (vif) information</help >
54
+ </properties >
55
+ <command >${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4.$6" --intf-type=thunderbolt</command >
56
+ </leafNode >
57
+ </children >
58
+ </tagNode >
22
59
</children >
23
60
</tagNode >
24
61
<node name =" thunderbolt" >
You can’t perform that action at this time.
0 commit comments