From 87f5ff69277c566284de96eea19eb79bb244bada Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 28 May 2018 09:12:22 +0200 Subject: [PATCH 1/7] settings-connection: expose Filename property on D-Bus This allows implementing some convenience features in nmcli -- listing the backing store for the connection in "nmcli c show", and using the filename for specifying connection in "nmcli c up/down". Eventually, paired with ReloadConnections(), this could be used to implement something similar to what "systemctl edit" does for units (though we'd need to pick another command name as we aready use "nmcli c edit" for something different). --- ...rg.freedesktop.NetworkManager.Settings.Connection.xml | 9 +++++++++ src/settings/nm-settings-connection.c | 5 +++-- src/settings/nm-settings-connection.h | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml index 13f626c339..2cbb6c2ebc 100644 --- a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml +++ b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml @@ -170,6 +170,15 @@ --> + + +