From 237414f81b9ac64eb812bb9b4e4fe58ef18cffff Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Wed, 20 Oct 2010 12:49:12 -0700 Subject: [PATCH] xenserver debian: Add additional tc output to bugtools Added tc commands which show what qos policies are running on each interface. --- debian/ovs-bugtool | 2 ++ xenserver/usr_sbin_xen-bugtool | 2 ++ 2 files changed, 4 insertions(+) mode change 100644 => 100755 xenserver/usr_sbin_xen-bugtool diff --git a/debian/ovs-bugtool b/debian/ovs-bugtool index 6f792eea..11d3acbc 100755 --- a/debian/ovs-bugtool +++ b/debian/ovs-bugtool @@ -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']) diff --git a/xenserver/usr_sbin_xen-bugtool b/xenserver/usr_sbin_xen-bugtool old mode 100644 new mode 100755 index 0cc9f656..af88c74a --- a/xenserver/usr_sbin_xen-bugtool +++ b/xenserver/usr_sbin_xen-bugtool @@ -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) -- 2.30.2