Skip to content

Commit

Permalink
BFD: Add BFD output to bugtool
Browse files Browse the repository at this point in the history
This change includes the output of ovs-appctl bfd/show to
ovs-bugtool output.

Signed-off-by: Pavithra Ramesh <[email protected]>
Signed-off-by: Gurucharan Shetty <[email protected]>
  • Loading branch information
paramesh2012 authored and shettyg committed Jul 17, 2013
1 parent a41d7bf commit ee5ce49
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions utilities/bugtool/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
19 changes: 19 additions & 0 deletions utilities/bugtool/ovs-bugtool-bfd-show
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions utilities/bugtool/plugins/network-status/openvswitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions xenserver/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ee5ce49

Please sign in to comment.