diff options
author | Eric Desrochers <eric.desrochers@canonical.com> | 2017-12-06 11:56:09 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-04-16 16:16:59 +0100 |
commit | 42b25c7505ac6ed02d0b179243896aa7c8eac49b (patch) | |
tree | 50367885b5edc2641e080b19cf3ad072239294c6 | |
parent | a7203c46dc5c344ea480d89c45f4810ff26378c5 (diff) | |
download | sos-42b25c7505ac6ed02d0b179243896aa7c8eac49b.tar.gz |
[networking] Add netplan data collection for Ubuntu.
Netplan is a YAML network configuration abstraction for various
backends (NetworkManager, networkd). It reads network configuration
from /etc/netplan/*.yaml.
Related documents:
https://wiki.ubuntu.com/Netplan
https://wiki.ubuntu.com/Netplan/Design
Resolves: #1161
Signed-off-by: Eric Desrochers <eric.desrochers@canonical.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/networking.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 505b77d2..86cf6393 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -375,7 +375,10 @@ class UbuntuNetworking(Networking, UbuntuPlugin, DebianPlugin): "/etc/network/interfaces.d", "/etc/ufw", "/var/log/ufw.Log", - "/etc/resolv.conf" + "/etc/resolv.conf", + "/etc/netplan/*.yaml", + "/run/NetworkManager", + "/run/systemd/network" ]) self.add_cmd_output([ "/usr/sbin/ufw status", |