Skip to content

Commit ee5ce49

Browse files
paramesh2012shettyg
authored andcommitted
BFD: Add BFD output to bugtool
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>
1 parent a41d7bf commit ee5ce49

4 files changed

Lines changed: 26 additions & 0 deletions

File tree

utilities/bugtool/automake.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ bugtool_plugins = \
1414
utilities/bugtool/plugins/system-configuration/openvswitch.xml
1515

1616
bugtool_scripts = \
17+
utilities/bugtool/ovs-bugtool-bfd-show \
1718
utilities/bugtool/ovs-bugtool-cfm-show \
1819
utilities/bugtool/ovs-bugtool-coverage-show \
1920
utilities/bugtool/ovs-bugtool-lacp-show \
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#! /bin/sh
2+
3+
# This library is free software; you can redistribute it and/or
4+
# modify it under the terms of version 2.1 of the GNU Lesser General
5+
# Public License as published by the Free Software Foundation.
6+
#
7+
# This library is distributed in the hope that it will be useful,
8+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10+
# Lesser General Public License for more details.
11+
#
12+
# You should have received a copy of the GNU Lesser General Public
13+
# License along with this library; if not, write to the Free Software
14+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
15+
# USA
16+
#
17+
# Copyright (C) 2013 Nicira, Inc.
18+
19+
ovs-appctl bfd/show

utilities/bugtool/plugins/network-status/openvswitch.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<command label="dump-ovsdb" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovsdb-dump</command>
2323
<command label="ovs-appctl-lacp-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-lacp-show</command>
2424
<command label="ovs-appctl-cfm-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-cfm-show</command>
25+
<command label="ovs-appctl-bfd-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-bfd-show</command>
2526
<command label="ovs-appctl-coverage-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-coverage-show</command>
2627
<command label="ovs-appctl-bond-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-bond-show</command>
2728
<command label="ovs-appctl-memory-show" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-memory-show</command>

xenserver/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ debugging. The sources for the extensions are in
8181
Collect networking information relevant to Open vSwitch. Runs
8282
the following scripts, which are described below:
8383

84+
* ovs-bugtool-bfd-show
8485
* ovs-bugtool-cfm-show
8586
* ovs-bugtool-lacp-show
8687
* ovs-bugtool-list-dbs
@@ -112,6 +113,10 @@ A number of scripts are installed in /usr/share/openvswitch/scripts to
112113
assist Open vSwitch's xen-bugtool extensions. The sources for the
113114
scripts are located in ../utilities/bugtool:
114115

116+
ovs-bugtool-bfd-show
117+
118+
Script to dump detailed BFD information for all enabled interfaces.
119+
115120
ovs-bugtool-cfm-show
116121

117122
Script to dump detailed CFM information for all enabled interfaces.

0 commit comments

Comments
 (0)