bugtool: Collect "lacp/show" and "cfm/show" information.
authorJustin Pettit <jpettit@nicira.com>
Mon, 26 Sep 2011 23:49:32 +0000 (16:49 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 30 Sep 2011 01:52:28 +0000 (18:52 -0700)
Feature #7496

debian/copyright.in
debian/openvswitch-common.install
utilities/bugtool/automake.mk
utilities/bugtool/ovs-bugtool-cfm-show [new file with mode: 0755]
utilities/bugtool/ovs-bugtool-lacp-show [new file with mode: 0755]
utilities/bugtool/plugins/network-status/openvswitch.xml
xenserver/README

index 3b003a4f67dd5566a6ff82ca1978b9693877d8be..3792dd16ae19b9510d09f8c877732fc015657151 100644 (file)
@@ -53,6 +53,8 @@ License:
   GNU Lesser General Public Licence version 2.1.
 
        utilities/bugtool/ovs-bugtool
+       utilities/bugtool/ovs-bugtool-cfm-show
+       utilities/bugtool/ovs-bugtool-lacp-show
        utilities/bugtool/ovs-bugtool-tc-class-show
        utilities/bugtool/plugins/kernel-info/openvswitch.xml
        utilities/bugtool/plugins/network-status/openvswitch.xml
index df261d079b8360cc5cb367a6c083c819af2f2e38..282519a138c5280abdf13723abdfc75fbe7d33b4 100644 (file)
@@ -6,4 +6,6 @@ usr/bin/ovs-parse-leaks
 usr/bin/ovs-pki
 usr/bin/ovsdb-client
 usr/sbin/ovs-bugtool
+usr/share/openvswitch/scripts/ovs-bugtool-cfm-show
+usr/share/openvswitch/scripts/ovs-bugtool-lacp-show
 usr/share/openvswitch/scripts/ovs-bugtool-tc-class-show
index 98b6db44832ccb4bd202cd8b050f9fd3b309536a..5b4a12feb6e8d13e32ba0f984d58f761fc9b6a1d 100644 (file)
@@ -11,6 +11,8 @@ bugtool_plugins = \
        utilities/bugtool/plugins/system-configuration/openvswitch.xml
 
 bugtool_scripts = \
+       utilities/bugtool/ovs-bugtool-cfm-show \
+       utilities/bugtool/ovs-bugtool-lacp-show \
        utilities/bugtool/ovs-bugtool-tc-class-show \
        utilities/bugtool/ovs-bugtool-ovsdb-dump
 scripts_SCRIPTS += $(bugtool_scripts)
diff --git a/utilities/bugtool/ovs-bugtool-cfm-show b/utilities/bugtool/ovs-bugtool-cfm-show
new file mode 100755 (executable)
index 0000000..b137a2d
--- /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) 2011 Nicira Networks.
+
+ovs-appctl cfm/show
diff --git a/utilities/bugtool/ovs-bugtool-lacp-show b/utilities/bugtool/ovs-bugtool-lacp-show
new file mode 100755 (executable)
index 0000000..2a2d72b
--- /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) 2011 Nicira Networks.
+
+ovs-appctl lacp/show
index 1ae5d9d82396a92f4427511353a9b29a22681913..980ba481d1e90bf265bc256fb26849564330fead 100644 (file)
@@ -19,4 +19,6 @@
 <collect>
   <command label="tc-class-show">/usr/share/openvswitch/scripts/ovs-bugtool-tc-class-show</command>
   <command label="dump-ovsdb">/usr/share/openvswitch/scripts/ovs-bugtool-ovsdb-dump</command>
+  <command label="ovs-lacp-show">/usr/share/openvswitch/scripts/ovs-bugtool-lacp-show</command>
+  <command label="ovs-cfm-show">/usr/share/openvswitch/scripts/ovs-bugtool-cfm-show</command>
 </collect>
index 0e2affa3ebcb194f0c9bb4a4fd27210462c49bb3..3039da3fc186585503d1bb3ad592ef79b1e1a2a1 100644 (file)
@@ -37,7 +37,8 @@ files are:
     etc_xensource_bugtool_network-status_openvswitch.xml
 
         xen-bugtool extension to collect networking information relevant to
-        Open vSwitch. Runs
+        Open vSwitch. Runs usr_share_openvswitch_scripts_xen-bugtool-cfm-show,
+        usr_share_openvswitch_scripts_xen-bugtool-lcap-show, and
         usr_share_openvswitch_scripts_xen-bugtool-tc-class-show.
 
     etc_xensource_bugtool_kernel-info_openvswitch.xml
@@ -80,6 +81,18 @@ files are:
         Template for Open vSwitch's /etc/sysconfig/openvswitch
         configuration file.
 
+    usr_share_openvswitch_scripts_ovs-bugtool-cfm-show
+
+        Script to dump detailed CFM information for all enabled
+        interfaces. Intended to be run by xen-bugtool via
+        etc_xensource_bugtool_network-status_openvswitch.xml.
+
+    usr_share_openvswitch_scripts_ovs-bugtool-lacp-show
+
+        Script to dump detailed LACP information for all enabled
+        ports. Intended to be run by xen-bugtool via
+        etc_xensource_bugtool_network-status_openvswitch.xml.
+
     usr_share_openvswitch_scripts_xen-bugtool-tc-class-show
 
         Script to dump tc class configuration for all network