ovs-bugtool: Add "ovs-appctl coverage/show" output to bugtool.
authorBen Pfaff <blp@nicira.com>
Fri, 27 Apr 2012 21:07:51 +0000 (14:07 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 30 Apr 2012 18:38:59 +0000 (11:38 -0700)
This can be useful for diagnosis.

Signed-off-by: Ben Pfaff <blp@nicira.com>
utilities/bugtool/automake.mk
utilities/bugtool/ovs-bugtool-coverage-show [new file with mode: 0755]
utilities/bugtool/plugins/network-status/openvswitch.xml

index e3ba0ad9ed4cf7545cc6787e6c71c63585149aae..e688b3f65a3a6da26761dea7ef81fa7074120eb3 100644 (file)
@@ -13,6 +13,7 @@ bugtool_plugins = \
 
 bugtool_scripts = \
        utilities/bugtool/ovs-bugtool-cfm-show \
+       utilities/bugtool/ovs-bugtool-coverage-show \
        utilities/bugtool/ovs-bugtool-lacp-show \
        utilities/bugtool/ovs-bugtool-tc-class-show \
        utilities/bugtool/ovs-bugtool-ovsdb-dump \
diff --git a/utilities/bugtool/ovs-bugtool-coverage-show b/utilities/bugtool/ovs-bugtool-coverage-show
new file mode 100755 (executable)
index 0000000..4cc55bd
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General
+# Public License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+#
+# Copyright (C) 2012 Nicira Networks.
+
+ovs-appctl coverage/show
index 42abfad699c92242a4b92410585b82582c1e845b..d34b13453cd010778fd0c1535ca61283768c3c8d 100644 (file)
@@ -13,7 +13,7 @@
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
  USA.
 
- Copyright (C) 2011 Nicira Networks.
+ Copyright (C) 2011, 2012 Nicira Networks.
 -->
 
 <collect>
@@ -21,4 +21,5 @@
   <command label="dump-ovsdb">/usr/share/openvswitch/scripts/ovs-bugtool-ovsdb-dump</command>
   <command label="ovs-lacp-show">/usr/share/openvswitch/scripts/ovs-bugtool-lacp-show</command>
   <command label="ovs-cfm-show">/usr/share/openvswitch/scripts/ovs-bugtool-cfm-show</command>
+  <command label="ovs-coverage-show">/usr/share/openvswitch/scripts/ovs-bugtool-coverage-show</command>
 </collect>