diff options
author | Flavio Leitner <fbl@redhat.com> | 2015-06-19 22:05:52 -0300 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-07-06 17:27:48 +0100 |
commit | f92205495113a8403066e911baeb4f5ee59c2101 (patch) | |
tree | 5880f8caa3689e6bc6a4bd7578d52afdc82f1440 | |
parent | 21aff64a58a3e0f3fc5065b2e18ca3d489e16a51 (diff) | |
download | sos-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.py | 3 |
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): |