NetworkManager/introspection
Thomas Haller e883ae765f
settings: add "version-id" argument to Update2() D-Bus call
We want to guard against concurrent modifications of profiles. We cannot
lock profiles, so what we instead do is expose (and bump) a version ID.
The user can check the version ID, plan ahead what to do, and tell
NetworkManager to only make the modification if no concurrent
modification was done. The conflict can be detected via the version ID.

The Update2() D-Bus call gets a parameter to only allow the request if
the version ID still matches.

nmcli should use this, but it is quite some effort to retry upon
concurrent modification. This is still to do.

Note that the user might make a decision that is based on multiple
profiles. As the new version-id is only per-profile, we cannot guard
against such inter-profile modifications. What would be needed, is a
UpdateMany() call, where we could modify multiple profiles at once, and
the action only takes effect if all version IDs show no concurrent
modification. That's not done yet, and maybe never will be.
2023-06-26 10:35:36 +02:00
..
meson.build support loopback interface 2022-11-23 20:51:22 +01:00
org.freedesktop.NetworkManager.AccessPoint.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.AgentManager.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Checkpoint.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Connection.Active.xml dbus: deprecate the NMActiveConnection Master property 2023-02-16 11:04:14 -05:00
org.freedesktop.NetworkManager.Device.Adsl.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Bluetooth.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Bond.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Bridge.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Dummy.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Generic.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Infiniband.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.IPTunnel.xml devices: support VTI tunnels 2022-12-21 14:04:44 +01:00
org.freedesktop.NetworkManager.Device.Loopback.xml support loopback interface 2022-11-23 20:51:22 +01:00
org.freedesktop.NetworkManager.Device.Lowpan.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Macsec.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Macvlan.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Modem.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.OlpcMesh.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.OvsBridge.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.OvsInterface.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.OvsPort.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Ppp.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Statistics.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Team.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Tun.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Veth.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Vlan.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Vrf.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Vxlan.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.WifiP2P.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.WiMax.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Wired.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.WireGuard.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Wireless.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.Wpan.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Device.xml core: support flag "preserve-external-ip" for Reapply() call 2022-12-14 17:31:16 +01:00
org.freedesktop.NetworkManager.DHCP4Config.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.DHCP6Config.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.DnsManager.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.IP4Config.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.IP6Config.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.PPP.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.SecretAgent.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.Settings.Connection.xml settings: add "version-id" argument to Update2() D-Bus call 2023-06-26 10:35:36 +02:00
org.freedesktop.NetworkManager.Settings.xml settings,libnm: add version-id to settings/remote connection 2023-06-26 10:35:35 +02:00
org.freedesktop.NetworkManager.VPN.Connection.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.VPN.Plugin.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.WifiP2PPeer.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.WiMax.Nsp.xml introspection: fix punctuation and capitalization 2022-03-22 14:48:45 +01:00
org.freedesktop.NetworkManager.xml core: add "VersionInfo" property on D-Bus and NMClient 2022-12-14 17:31:15 +01:00