mirror of
https://github.com/openvswitch/ovs
synced 2025-10-15 14:17:18 +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:
2
debian/ovs-bugtool
vendored
2
debian/ovs-bugtool
vendored
@@ -498,6 +498,8 @@ exclude those logs from the archive.
|
|||||||
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-k', p])
|
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-k', p])
|
||||||
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
|
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
|
||||||
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
|
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
|
||||||
|
cmd_output(CAP_NETWORK_STATUS,
|
||||||
|
[TC, '-s', '-d', 'class', 'show', 'dev', p])
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
cmd_output(CAP_NETWORK_STATUS, [TC, '-s', 'qdisc'])
|
cmd_output(CAP_NETWORK_STATUS, [TC, '-s', 'qdisc'])
|
||||||
|
2
xenserver/usr_sbin_xen-bugtool
Normal file → Executable file
2
xenserver/usr_sbin_xen-bugtool
Normal file → Executable 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, '-k', p])
|
||||||
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
|
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-i', p])
|
||||||
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
|
cmd_output(CAP_NETWORK_STATUS, [ETHTOOL, '-c', p])
|
||||||
|
cmd_output(CAP_NETWORK_STATUS,
|
||||||
|
[TC, '-s', '-d', 'class', 'show', 'dev', p])
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
tree_output(CAP_NETWORK_STATUS, PROC_NET_BONDING_DIR)
|
tree_output(CAP_NETWORK_STATUS, PROC_NET_BONDING_DIR)
|
||||||
|
Reference in New Issue
Block a user