aboutsummaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-09-26 16:49:32 -0700
committerJustin Pettit <jpettit@nicira.com>2011-09-29 18:52:28 -0700
commit5ea61afe521af5ed81cff32726e4cd8d49bf7d50 (patch)
tree390b7e2fd867cd44304f53d0616dc0fc417eff98 /utilities
parentb674c3f9ed45277d57bd2f05ad81ad31858cd672 (diff)
bugtool: Collect "lacp/show" and "cfm/show" information.
Feature #7496
Diffstat (limited to 'utilities')
-rw-r--r--utilities/bugtool/automake.mk2
-rwxr-xr-xutilities/bugtool/ovs-bugtool-cfm-show19
-rwxr-xr-xutilities/bugtool/ovs-bugtool-lacp-show19
-rw-r--r--utilities/bugtool/plugins/network-status/openvswitch.xml2
4 files changed, 42 insertions, 0 deletions
diff --git a/utilities/bugtool/automake.mk b/utilities/bugtool/automake.mk
index 98b6db44..5b4a12fe 100644
--- a/utilities/bugtool/automake.mk
+++ b/utilities/bugtool/automake.mk
@@ -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
index 00000000..b137a2d8
--- /dev/null
+++ b/utilities/bugtool/ovs-bugtool-cfm-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) 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
index 00000000..2a2d72bf
--- /dev/null
+++ b/utilities/bugtool/ovs-bugtool-lacp-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) 2011 Nicira Networks.
+
+ovs-appctl lacp/show
diff --git a/utilities/bugtool/plugins/network-status/openvswitch.xml b/utilities/bugtool/plugins/network-status/openvswitch.xml
index 1ae5d9d8..980ba481 100644
--- a/utilities/bugtool/plugins/network-status/openvswitch.xml
+++ b/utilities/bugtool/plugins/network-status/openvswitch.xml
@@ -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>