aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2015-06-19 22:05:52 -0300
committerBryn M. Reeves <bmr@redhat.com>2015-07-06 17:27:48 +0100
commitf92205495113a8403066e911baeb4f5ee59c2101 (patch)
tree5880f8caa3689e6bc6a4bd7578d52afdc82f1440
parent21aff64a58a3e0f3fc5065b2e18ca3d489e16a51 (diff)
downloadsos-f92205495113a8403066e911baeb4f5ee59c2101.tar.gz
[openvswitch] dump and capture the database
The database contains all the vswitch configuration and is essential to understand and replicate the environment. Signed-off-by: Flavio Leitner <fbl@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 1d756085..4dd15b2c 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -44,6 +44,9 @@ class OpenVSwitch(Plugin):
self.add_cmd_output("ovs-ofctl dump-flows %s" % br)
self.add_cmd_output("ovs-appctl fdb/show %s" % br)
+ # Gather the database.
+ self.add_cmd_output("ovsdb-client dump")
+
class RedHatOpenVSwitch(OpenVSwitch, RedHatPlugin):