@@ -29,7 +29,10 @@ bugtool_scripts = \
utilities/bugtool/ovs-bugtool-ovs-ofctl-dump-flows \
utilities/bugtool/ovs-bugtool-ovs-appctl-dpif \
utilities/bugtool/ovs-bugtool-bond-show \
- utilities/bugtool/ovs-bugtool-conntrack-dump
+ utilities/bugtool/ovs-bugtool-conntrack-dump \
+ utilities/bugtool/ovs-bugtool-ovn-nbctl-show \
+ utilities/bugtool/ovs-bugtool-ovn-sbctl-show \
+ utilities/bugtool/ovs-bugtool-ovn-sbctl-lflow-list
scripts_SCRIPTS += $(bugtool_scripts)
new file mode 100644
@@ -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) 2016 Nicira, Inc.
+
+ovn-nbctl --timeout=3 show
new file mode 100644
@@ -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) 2016 Nicira, Inc.
+
+ovn-sbctl --timeout=3 lflow-list
new file mode 100644
@@ -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) 2016 Nicira, Inc.
+
+ovn-sbctl --timeout=3 show
@@ -32,4 +32,7 @@
<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>
+ <command label="ovs-ovn-nbctl-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovn-nbctl-show</command>
+ <command label="ovs-ovn-sbctl-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovn-sbctl-show</command>
+ <command label="ovs-ovn-sbctl-lflow-list" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovn-sbctl-lflow-list</command>
</collect>
@@ -96,6 +96,9 @@ debugging. The sources for the extensions are in
* ovs-bugtool-memory-show
* ovs-bugtool-vsctl-show
* ovs-bugtool-conntrack-dump
+ * ovs-bugtool-ovn-nbctl-show
+ * ovs-bugtool-ovn-sbctl-show
+ * ovs-bugtool-ovn-sbctl-lflow-list
system-configuration/openvswitch.xml
@@ -173,6 +176,18 @@ scripts are located in ../utilities/bugtool:
Script to show all the connection entries in the tracker.
+ ovs-bugtool-ovn-nbctl-show
+
+ Script to show northbound database contents.
+
+ ovs-bugtool-ovn-sbctl-show
+
+ Script to show southbound database contents.
+
+ ovs-bugtool-ovn-sbctl-lflow-list
+
+ Script to list logical flows at southbound database.
+
ovs-bugtool-daemons-ver
Script to dump version information for all Open vSwitch daemons.
Add ovn-nbctl show, ovn-sbctl show, and ovn-sbctl lflow-list. Signed-off-by: William Tu <u9012063@gmail.com> --- utilities/bugtool/automake.mk | 5 ++++- utilities/bugtool/ovs-bugtool-ovn-nbctl-show | 19 +++++++++++++++++++ utilities/bugtool/ovs-bugtool-ovn-sbctl-lflow-list | 19 +++++++++++++++++++ utilities/bugtool/ovs-bugtool-ovn-sbctl-show | 19 +++++++++++++++++++ .../bugtool/plugins/network-status/openvswitch.xml | 3 +++ xenserver/README | 15 +++++++++++++++ 6 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 utilities/bugtool/ovs-bugtool-ovn-nbctl-show create mode 100644 utilities/bugtool/ovs-bugtool-ovn-sbctl-lflow-list create mode 100644 utilities/bugtool/ovs-bugtool-ovn-sbctl-show