BFD: Add BFD output to bugtool
authorPavithra Ramesh <paramesh@vmware.com>
Tue, 16 Jul 2013 19:59:39 +0000 (12:59 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 17 Jul 2013 16:16:30 +0000 (09:16 -0700)
This change includes the output of ovs-appctl bfd/show to
ovs-bugtool output.

Signed-off-by: Pavithra Ramesh <paramesh@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/bugtool/automake.mk
utilities/bugtool/ovs-bugtool-bfd-show [new file with mode: 0755]
utilities/bugtool/plugins/network-status/openvswitch.xml
xenserver/README

index 38768cb..528b720 100644 (file)
@@ -14,6 +14,7 @@ bugtool_plugins = \
        utilities/bugtool/plugins/system-configuration/openvswitch.xml
 
 bugtool_scripts = \
+       utilities/bugtool/ovs-bugtool-bfd-show \
        utilities/bugtool/ovs-bugtool-cfm-show \
        utilities/bugtool/ovs-bugtool-coverage-show \
        utilities/bugtool/ovs-bugtool-lacp-show \
diff --git a/utilities/bugtool/ovs-bugtool-bfd-show b/utilities/bugtool/ovs-bugtool-bfd-show
new file mode 100755 (executable)
index 0000000..0173595
--- /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) 2013 Nicira, Inc.
+
+ovs-appctl bfd/show
index 5ca47e6..00247f9 100644 (file)
@@ -22,6 +22,7 @@
   <command label="dump-ovsdb" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovsdb-dump</command>
   <command label="ovs-appctl-lacp-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-lacp-show</command>
   <command label="ovs-appctl-cfm-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-cfm-show</command>
+  <command label="ovs-appctl-bfd-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-bfd-show</command>
   <command label="ovs-appctl-coverage-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-coverage-show</command>
   <command label="ovs-appctl-bond-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-bond-show</command>
   <command label="ovs-appctl-memory-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-memory-show</command>
index dd49dab..9aedaf6 100644 (file)
@@ -81,6 +81,7 @@ debugging.  The sources for the extensions are in
         Collect networking information relevant to Open vSwitch.  Runs
         the following scripts, which are described below:
 
+            * ovs-bugtool-bfd-show
             * ovs-bugtool-cfm-show
             * ovs-bugtool-lacp-show
             * ovs-bugtool-list-dbs
@@ -112,6 +113,10 @@ A number of scripts are installed in /usr/share/openvswitch/scripts to
 assist Open vSwitch's xen-bugtool extensions.  The sources for the
 scripts are located in ../utilities/bugtool:
 
+    ovs-bugtool-bfd-show
+
+        Script to dump detailed BFD information for all enabled interfaces.
+
     ovs-bugtool-cfm-show
 
         Script to dump detailed CFM information for all enabled interfaces.