Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 utilities/bugtool/automake.mk                      |    1 +
 utilities/bugtool/ovs-bugtool-list-dbs             |   19 +++++++++++++++++++
 .../bugtool/plugins/network-status/openvswitch.xml |    1 +
 xenserver/README                                   |    5 +++++
 4 files changed, 26 insertions(+)
 create mode 100755 utilities/bugtool/ovs-bugtool-list-dbs

diff --git a/utilities/bugtool/automake.mk b/utilities/bugtool/automake.mk
index 9d1ff66..38768cb 100644
--- a/utilities/bugtool/automake.mk
+++ b/utilities/bugtool/automake.mk
@@ -17,6 +17,7 @@ bugtool_scripts = \
        utilities/bugtool/ovs-bugtool-cfm-show \
        utilities/bugtool/ovs-bugtool-coverage-show \
        utilities/bugtool/ovs-bugtool-lacp-show \
+       utilities/bugtool/ovs-bugtool-list-dbs \
        utilities/bugtool/ovs-bugtool-memory-show \
        utilities/bugtool/ovs-bugtool-tc-class-show \
        utilities/bugtool/ovs-bugtool-vsctl-show \
diff --git a/utilities/bugtool/ovs-bugtool-list-dbs 
b/utilities/bugtool/ovs-bugtool-list-dbs
new file mode 100755
index 0000000..28775fa
--- /dev/null
+++ b/utilities/bugtool/ovs-bugtool-list-dbs
@@ -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) 2013 Nicira, Inc.
+
+ovs-appctl -t ovsdb-server ovsdb-server/list-dbs
diff --git a/utilities/bugtool/plugins/network-status/openvswitch.xml 
b/utilities/bugtool/plugins/network-status/openvswitch.xml
index d79b4f3..5ca47e6 100644
--- a/utilities/bugtool/plugins/network-status/openvswitch.xml
+++ b/utilities/bugtool/plugins/network-status/openvswitch.xml
@@ -28,4 +28,5 @@
   <command label="ovs-ofctl-show" 
filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovs-ofctl-show</command>
   <command label="ovs-ofctl-dump-flows" 
filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovs-ofctl-dump-flows</command>
   <command label="ovs-appctl-dpif" 
filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovs-appctl-dpif</command>
+  <command label="ovs-appctl-list-dbs" 
filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-list-dbs</command>
 </collect>
diff --git a/xenserver/README b/xenserver/README
index 472159e..dd49dab 100644
--- a/xenserver/README
+++ b/xenserver/README
@@ -83,6 +83,7 @@ debugging.  The sources for the extensions are in
 
             * ovs-bugtool-cfm-show
             * ovs-bugtool-lacp-show
+            * ovs-bugtool-list-dbs
             * ovs-bugtool-ovsdb-dump
             * ovs-bugtool-tc-class-show
             * ovs-bugtool-bond-show
@@ -119,6 +120,10 @@ scripts are located in ../utilities/bugtool:
 
         Script to dump detailed LACP information for all enabled ports.
 
+    ovs-bugtool-list-dbs
+
+        Script to list the databases controlled by ovsdb-server.
+
     ovs-bugtool-ovsdb-dump
 
         Script to dump contents of Open vSwitch configuration database 
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to