mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
e883ae765f
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. |
||
---|---|---|
.. | ||
meson.build | ||
org.freedesktop.NetworkManager.AccessPoint.xml | ||
org.freedesktop.NetworkManager.AgentManager.xml | ||
org.freedesktop.NetworkManager.Checkpoint.xml | ||
org.freedesktop.NetworkManager.Connection.Active.xml | ||
org.freedesktop.NetworkManager.Device.Adsl.xml | ||
org.freedesktop.NetworkManager.Device.Bluetooth.xml | ||
org.freedesktop.NetworkManager.Device.Bond.xml | ||
org.freedesktop.NetworkManager.Device.Bridge.xml | ||
org.freedesktop.NetworkManager.Device.Dummy.xml | ||
org.freedesktop.NetworkManager.Device.Generic.xml | ||
org.freedesktop.NetworkManager.Device.Infiniband.xml | ||
org.freedesktop.NetworkManager.Device.IPTunnel.xml | ||
org.freedesktop.NetworkManager.Device.Loopback.xml | ||
org.freedesktop.NetworkManager.Device.Lowpan.xml | ||
org.freedesktop.NetworkManager.Device.Macsec.xml | ||
org.freedesktop.NetworkManager.Device.Macvlan.xml | ||
org.freedesktop.NetworkManager.Device.Modem.xml | ||
org.freedesktop.NetworkManager.Device.OlpcMesh.xml | ||
org.freedesktop.NetworkManager.Device.OvsBridge.xml | ||
org.freedesktop.NetworkManager.Device.OvsInterface.xml | ||
org.freedesktop.NetworkManager.Device.OvsPort.xml | ||
org.freedesktop.NetworkManager.Device.Ppp.xml | ||
org.freedesktop.NetworkManager.Device.Statistics.xml | ||
org.freedesktop.NetworkManager.Device.Team.xml | ||
org.freedesktop.NetworkManager.Device.Tun.xml | ||
org.freedesktop.NetworkManager.Device.Veth.xml | ||
org.freedesktop.NetworkManager.Device.Vlan.xml | ||
org.freedesktop.NetworkManager.Device.Vrf.xml | ||
org.freedesktop.NetworkManager.Device.Vxlan.xml | ||
org.freedesktop.NetworkManager.Device.WifiP2P.xml | ||
org.freedesktop.NetworkManager.Device.WiMax.xml | ||
org.freedesktop.NetworkManager.Device.Wired.xml | ||
org.freedesktop.NetworkManager.Device.WireGuard.xml | ||
org.freedesktop.NetworkManager.Device.Wireless.xml | ||
org.freedesktop.NetworkManager.Device.Wpan.xml | ||
org.freedesktop.NetworkManager.Device.xml | ||
org.freedesktop.NetworkManager.DHCP4Config.xml | ||
org.freedesktop.NetworkManager.DHCP6Config.xml | ||
org.freedesktop.NetworkManager.DnsManager.xml | ||
org.freedesktop.NetworkManager.IP4Config.xml | ||
org.freedesktop.NetworkManager.IP6Config.xml | ||
org.freedesktop.NetworkManager.PPP.xml | ||
org.freedesktop.NetworkManager.SecretAgent.xml | ||
org.freedesktop.NetworkManager.Settings.Connection.xml | ||
org.freedesktop.NetworkManager.Settings.xml | ||
org.freedesktop.NetworkManager.VPN.Connection.xml | ||
org.freedesktop.NetworkManager.VPN.Plugin.xml | ||
org.freedesktop.NetworkManager.WifiP2PPeer.xml | ||
org.freedesktop.NetworkManager.WiMax.Nsp.xml | ||
org.freedesktop.NetworkManager.xml |