aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-02-10 19:30:05 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-02-10 19:30:05 +0000
commitb61a927bade2f183e7cf9404b11a93570fe8895b (patch)
tree392ea389991f2f277645a44137bf1689341e03e5
parent8eed8e33d1de2cd56a26fc7cc8a3ee25e8921319 (diff)
downloadsos-b61a927bade2f183e7cf9404b11a93570fe8895b.tar.gz
[networking] additional ip, firewall and traffic shaping commands
Collect tc qdisc output, ipv4/6 routing policy, NOARP arp cache, iptables with --exact counters, and iproute2 configuration. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 8dfc0e6b..9f6ece09 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -82,7 +82,8 @@ class Networking(Plugin):
"/etc/NetworkManager/NetworkManager.conf",
"/etc/NetworkManager/system-connections",
"/etc/dnsmasq*",
- "/sys/class/net/*/flags"
+ "/sys/class/net/*/flags",
+ "/etc/iproute2"
])
self.add_forbidden_path("/proc/net/rpc/use-gss-proxy")
self.add_forbidden_path("/proc/net/rpc/*/channel")
@@ -98,19 +99,24 @@ class Networking(Plugin):
"netstat -agn",
"ip route show table all",
"ip -6 route show table all",
+ "ip -4 rule",
+ "ip -6 rule",
"ip link",
"ip address",
"ifenslave -a",
"ip mroute show",
"ip maddr show",
"ip neigh show",
+ "ip neigh show nud noarp",
"ip netns",
"nmcli general status",
"nmcli connection show",
"nmcli connection show active",
"nmcli device status",
"nmcli device show",
- "biosdevname -d"
+ "biosdevname -d",
+ "tc -s qdisc show",
+ "iptables -vnxL"
])
ip_link_result = self.call_ext_prog("ip -o link")
if ip_link_result['status'] == 0: