diff options
author | Thomas Haller <thaller@redhat.com> | 2018-11-19 11:16:44 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-11-19 13:04:59 +0100 |
commit | 7420ae831493f451c6601b888685c9cd54de7f34 (patch) | |
tree | 4311ecf06d65fca8ac92dcb30d348dd1bdc08aa1 /introspection | |
parent | da05a6b5e5c3db070be3ef459db0e9c2bb9503ac (diff) | |
download | NetworkManager-7420ae831493f451c6601b888685c9cd54de7f34.tar.gz |
all: rename "bind" option for AddAndActivateConnection2 to "bind-activation"
"bind" specifically binds the lifetime of the activation (NMActiveConnection).
In combination with "persist=volatile", the lifetime of the NMSettingsConnection
is indirectly bound to the NMActiveConnection. But still these concepts make sense
independently.
In the future, it may make sense to also bind the lifetime of the NMSettingsConnection
to the D-Bus client. Hence, rename the option to allow for the distinction.
Also, belatedly fix libnm comment about "bind" only working with
"persist" "volatile".
Fixes: eb883e34a5889812d35e5c2d7bc6051723001a3a
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.NetworkManager.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.xml b/introspection/org.freedesktop.NetworkManager.xml index f78a989a4b..5a13211e2e 100644 --- a/introspection/org.freedesktop.NetworkManager.xml +++ b/introspection/org.freedesktop.NetworkManager.xml @@ -129,7 +129,7 @@ parameters. At this time the following options are supported: * persist: A string value of either "disk" (default), "memory" or "volatile". If "memory" is passed, the connection will not be saved to disk. If "volatile" is passed, the connection will not be saved to disk and will be destroyed when disconnected. - * bind: Bind the activation lifetime. Set to "dbus-name" to automatically disconnect when the requesting process disappears from the bus. The default of "none" means the connection is kept activated normally. + * bind-activation: Bind the activation lifetime. Set to "dbus-name" to automatically disconnect when the requesting process disappears from the bus. The default of "none" means the connection is kept activated normally. --> <method name="AddAndActivateConnection2"> <arg name="connection" type="a{sa{sv}}" direction="in"/> |