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 3b003a4..3792dd1 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 df261d0..282519a 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 98b6db4..5b4a12f 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 1ae5d9d..980ba48 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 0e2affa..3039da3 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