From: Ethan Jackson Date: Wed, 20 Oct 2010 19:49:12 +0000 (-0700) Subject: xenserver debian: Add additional tc output to bugtools X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=237414f81b9ac64eb812bb9b4e4fe58ef18cffff;p=openvswitch xenserver debian: Add additional tc output to bugtools Added tc commands which show what qos policies are running on each interface. --- 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)