2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-13 14:07:02 +00:00

xenserver debian: Add additional tc output to bugtools

Added tc commands which show what qos policies are running on each
interface.
This commit is contained in:
Ethan Jackson
2010-10-20 12:49:12 -07:00
parent 8731b2b688
commit 237414f81b
2 changed files with 4 additions and 0 deletions

2
debian/ovs-bugtool vendored
View File

@@ -498,6 +498,8 @@ exclude those logs from the archive.
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-k', p])
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
cmd_output(CAP_NETWORK_STATUS,
[TC, '-s', '-d', 'class', 'show', 'dev', p])
except:
pass
cmd_output(CAP_NETWORK_STATUS, [TC, '-s', 'qdisc'])

2
xenserver/usr_sbin_xen-bugtool Normal file → Executable file
View File

@@ -691,6 +691,8 @@ exclude those logs from the archive.
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-k', p])
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
cmd_output(CAP_NETWORK_STATUS,
[TC, '-s', '-d', 'class', 'show', 'dev', p])
except:
pass
tree_output(CAP_NETWORK_STATUS, PROC_NET_BONDING_DIR)