diff options
author | Michał Dulko <mdulko@redhat.com> | 2021-11-19 11:01:52 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-11-24 09:28:35 -0500 |
commit | d1ae7b13b1fd1965daae3ff01f6f987354764819 (patch) | |
tree | c2eae0ed2f24483b5ced7174339e54d58a21b863 | |
parent | 7b8bc7ac81752aba28be42de307c3fc5b2bf59fa (diff) | |
download | sos-d1ae7b13b1fd1965daae3ff01f6f987354764819.tar.gz |
[networking] Additional interfaces info in netns
This commit adds `-d` to the `ip address show` executed in each of the
network namespaces on the host. This prints additonal info per each
interface, the most useful probably being VLAN information.
Signed-off-by: Michał Dulko <mdulko@redhat.com>
-rw-r--r-- | sos/report/plugins/networking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py index cc93c9e9..80e24abb 100644 --- a/sos/report/plugins/networking.py +++ b/sos/report/plugins/networking.py @@ -205,7 +205,7 @@ class Networking(Plugin): for namespace in namespaces: ns_cmd_prefix = cmd_prefix + namespace + " " self.add_cmd_output([ - ns_cmd_prefix + "ip address show", + ns_cmd_prefix + "ip -d address show", ns_cmd_prefix + "ip route show table all", ns_cmd_prefix + "ip -s -s neigh show", ns_cmd_prefix + "ip rule list", |