xenserver debian: Add additional tc output to bugtools
authorEthan Jackson <ethan@nicira.com>
Wed, 20 Oct 2010 19:49:12 +0000 (12:49 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 20 Oct 2010 22:43:51 +0000 (15:43 -0700)
Added tc commands which show what qos policies are running on each
interface.

debian/ovs-bugtool
xenserver/usr_sbin_xen-bugtool [changed mode: 0644->0755]

index 6f792eea74f9401b3760fcef302976d72967e724..11d3acbcb2cc39c187a556cf937b7351b83a889b 100755 (executable)
@@ -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'])
old mode 100644 (file)
new mode 100755 (executable)
index 0cc9f65..af88c74
@@ -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)