From ee5ce4915b09ba9fa63ac17224bab8dccb039bb2 Mon Sep 17 00:00:00 2001 From: Pavithra Ramesh Date: Tue, 16 Jul 2013 12:59:39 -0700 Subject: [PATCH] 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 Signed-off-by: Gurucharan Shetty --- utilities/bugtool/automake.mk | 1 + utilities/bugtool/ovs-bugtool-bfd-show | 19 +++++++++++++++++++ .../plugins/network-status/openvswitch.xml | 1 + xenserver/README | 5 +++++ 4 files changed, 26 insertions(+) create mode 100755 utilities/bugtool/ovs-bugtool-bfd-show diff --git a/utilities/bugtool/automake.mk b/utilities/bugtool/automake.mk index 38768cb00..528b72095 100644 --- a/utilities/bugtool/automake.mk +++ b/utilities/bugtool/automake.mk @@ -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 index 000000000..017359510 --- /dev/null +++ b/utilities/bugtool/ovs-bugtool-bfd-show @@ -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 diff --git a/utilities/bugtool/plugins/network-status/openvswitch.xml b/utilities/bugtool/plugins/network-status/openvswitch.xml index 5ca47e603..00247f964 100644 --- a/utilities/bugtool/plugins/network-status/openvswitch.xml +++ b/utilities/bugtool/plugins/network-status/openvswitch.xml @@ -22,6 +22,7 @@ /usr/share/openvswitch/scripts/ovs-bugtool-ovsdb-dump /usr/share/openvswitch/scripts/ovs-bugtool-lacp-show /usr/share/openvswitch/scripts/ovs-bugtool-cfm-show + /usr/share/openvswitch/scripts/ovs-bugtool-bfd-show /usr/share/openvswitch/scripts/ovs-bugtool-coverage-show /usr/share/openvswitch/scripts/ovs-bugtool-bond-show /usr/share/openvswitch/scripts/ovs-bugtool-memory-show diff --git a/xenserver/README b/xenserver/README index dd49daba7..9aedaf630 100644 --- a/xenserver/README +++ b/xenserver/README @@ -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. -- 2.43.0