ovs-bugtool: Add -s to "ovs-dpctl show" command, to show vport statistics.
authorBen Pfaff <blp@nicira.com>
Mon, 10 Oct 2011 17:29:49 +0000 (10:29 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Oct 2011 17:29:49 +0000 (10:29 -0700)
It would be nice to include this in xen-bugtool output too but that would
require Citrix to patch xen-bugtool directly.

Bug #7628.
Reported-by: Ethan Jackson <ethan@nicira.com>
utilities/bugtool/ovs-bugtool.in

index 422b2dd..d7948d9 100755 (executable)
@@ -588,7 +588,7 @@ exclude those logs from the archive.
     file_output(CAP_NETWORK_STATUS, [PROC_NET_SOFTNET_STAT])
     tree_output(CAP_NETWORK_STATUS, OPENVSWITCH_LOG_DIR)
     if os.path.exists(OPENVSWITCH_VSWITCHD_PID):
-        cmd_output(CAP_NETWORK_STATUS, [OVS_DPCTL, 'show'])
+        cmd_output(CAP_NETWORK_STATUS, [OVS_DPCTL, 'show', '-s'])
         for d in dp_list():
             cmd_output(CAP_NETWORK_STATUS, [OVS_OFCTL, 'show', d])
             cmd_output(CAP_NETWORK_STATUS, [OVS_OFCTL, 'dump-flows', d])