aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2015-05-20 13:48:17 -0700
committerBryn M. Reeves <bmr@redhat.com>2015-07-08 18:50:58 +0100
commit806267fbfef16d7c1e28553e116767e7fa167318 (patch)
tree199c71d5afd475986ade121ccf1862866e87ba30
parentc05fa2947937a5adc3496c4e66b649633de054e9 (diff)
downloadsos-806267fbfef16d7c1e28553e116767e7fa167318.tar.gz
[networking] Collect plotnetcfg output.
The plotnetcfg tool [1] has recently been packaged for Fedora and provides a useful method for visualising complex host network toplogies. In the case of Openstack hosts this includes Openvswitch devices, flows etc. The resulting file can be used to generate a PDF visualising this with the following command : `cat plotnetcfg | dot -Tpdf > output.pdf` [1] https://github.com/jbenc/plotnetcfg Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
-rw-r--r--sos/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index b2c74c10..f39f126b 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -91,6 +91,7 @@ class Networking(Plugin):
self.add_cmd_output("ip -o addr", root_symlink="ip_addr")
self.add_cmd_output("route -n", root_symlink="route")
+ self.add_cmd_output("plotnetcfg")
self.collect_iptable("filter")
self.collect_iptable("nat")
self.collect_iptable("mangle")