all: add device.path property

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 12 June 2020 14:04 UTC

Add a device property to expose its path as reported in the ID_PATH udev property.

d13ca45ca all: add device.path property
clients/cli/devices.c | 3 +
clients/cli/utils.h | 1 +
.../test-client.check-on-disk/test_003.expected | 472 +++---
.../test-client.check-on-disk/test_004.expected | 1584 +++++++++++---------
.../org.freedesktop.NetworkManager.Device.xml | 10 +
libnm/libnm.ver | 1 +
libnm/nm-device.c | 45 +
libnm/nm-device.h | 3 +
src/devices/nm-device.c | 32 +
src/devices/nm-device.h | 1 +
10 files changed, 1272 insertions(+), 880 deletions(-)

Upstream: cgit.freedesktop.org


  • Share