Exclude non-managed devices from plasma-nm

Authored by jgrulich on Jul 22 2019, 5:24 AM.

Description

Exclude non-managed devices from plasma-nm

Summary:
Some network devices are not managed by NetworkManager, for example any virtual device created by Docker, any routing devices, etc.

This patch checks if the device is being managed by NM or not before showing it into the applet.

With most certainty, the patch is wrong or the check should be added elsewere, but I thought that would be nice to publish it so we can get the discussion going.

Test Plan: Load the applet with some 10 containers running. The 10 created veth interfaces should not be shown in the applet.

Reviewers: Plasma, jgrulich

Reviewed By: jgrulich

Subscribers: aacid, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D19440

Details

Committed
jgrulichJul 22 2019, 5:24 AM
Reviewer
jgrulich
Differential Revision
D19440: Exclude non-managed devices from plasma-nm
Parents
R116:00c78ced6c03: Make Prison optional
Branches
Unknown
Tags
Unknown