From 9959fdb2e8ddd06f2161798ca0a39c77d67c652d Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 4 May 2022 15:35:24 +0200 Subject: New upstream version 1.37.92 --- ...edesktop.NetworkManager.Settings.Connection.xml | 97 ++++++++++++++-------- 1 file changed, 61 insertions(+), 36 deletions(-) (limited to 'docs/api/dbus-org.freedesktop.NetworkManager.Settings.Connection.xml') diff --git a/docs/api/dbus-org.freedesktop.NetworkManager.Settings.Connection.xml b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.Connection.xml index b0de0550..d7648152 100644 --- a/docs/api/dbus-org.freedesktop.NetworkManager.Settings.Connection.xml +++ b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.Connection.xml @@ -5,7 +5,7 @@ org.freedesktop.NetworkManager.Settings.Connection org.freedesktop.NetworkManager.Settings.Connection - org.freedesktop.NetworkManager.Settings.Connection Connection Settings Profile + org.freedesktop.NetworkManager.Settings.Connection Connection Settings Profile. Methods Update (IN a{sa{sv}} properties); @@ -163,56 +163,81 @@ Update2 (IN a{sa{sv}} settings, IN a{sv} args, OUT a{sv} result); - Provide an empty array, to use the current settings. - flags: optional flags argument. Currently, supported flags are: - "0x1" (to-disk), - "0x2" (in-memory), - "0x4" (in-memory-detached), - "0x8" (in-memory-only), - "0x10" (volatile), - "0x20" (block-autoconnect), - "0x40" (no-reapply). - Unknown flags cause the call to fail. - args: optional arguments dictionary, for extentibility. Currently, no - arguments are accepted. Specifying unknown keys causes the call - to fail. - result: output argument, currently no results are returned. - Update the connection with new settings and properties (replacing all - previous settings and properties). If the flag 0x1 is present, - the connection is persisted to disk. If the flag 0x2 is present, - the change is only made in memory (without touching an eventual - profile on disk). If neither 0x1 nor 0x2 is set, the change is made - in memory only, if the connection is already in memory only. - The flags 0x4 (in-memory-detached) and 0x8 (in-memory-only) are like - "in-memory", but behave slightly different when migrating the profile - from disk to in-memory. - The flag 0x20 (block-autoconnect) blocks auto-connect on the updated - profile, and 0x40 (no-reapply) prevents "connection.zone" and "connection.metered" - properties to take effect on currently active devices. - Secrets may be part of the update request, and will be either stored in persistent + Update the connection with new settings and properties (replacing all + previous settings and properties). + Update2 is an alternative to + Update, + UpdateUnsaved + and Save + extensible with extra flags and args arguments. + The flags argument accepts the combination of following values, + logically or-ed together: + + + 0x1 (to-disk): + The connection is persisted to disk. + + + 0x2 (in-memory): + The change is only made in memory (without touching an eventual + profile on disk). If neither 0x1 nor 0x2 is set, the change is made in memory + only, if the connection is already in memory only. + + + 0x4 (in-memory-detached): + Like "in-memory", but behaves slightly different when migrating + the profile from disk to in-memory. + + + 0x8 (in-memory-only): + Like "in-memory", but behaves slightly different when migrating + the profile from disk to in-memory. + + + 0x10 (volatile): + + + 0x20 (block-autoconnect): + Blocks auto-connect on the updated profile + + + 0x40 (no-reapply): + Prevents "connection.zone" and "connection.metered" properties + to take effect on currently active devices. + + + The args argument accepts the following keys: + + + plugin: + The settings plugin the connection will be migrated to + such as "keyfile" or "ifcfg-rh". + Since 1.38 + + + Secrets may be part of the update request, and will be either stored in persistent storage or sent to a Secret Agent for storage, depending on the flags associated with each secret. - Update2 is a extensible alternative to Update, UpdateUnsaved and Save. - Since: 1.12 IN a{sa{sv}} settings: - New connection settings, properties, and (optionally) secrets. + New connection settings, properties, and (optionally) secrets. Provide an empty array to use the current settings. IN u flags: - + Optional flags. Unknown flags cause the call to fail. IN a{sv} args: - + Optional arguments dictionary, for extentibility. Specifying unknown keys causes the call to fail. OUT a{sv} result: - + Currently no results are returned. +Since 1.12 @@ -264,8 +289,8 @@ Flags readable u Additional flags of the connection profile. Returns: NMSettingsConnectionFlags - Since: 1.12 +Since 1.12 The "Filename" property @@ -274,8 +299,8 @@ Flags readable u Filename readable s File that stores the connection in case the connection is file-backed. - Since: 1.12 +Since 1.12 -- cgit 1.3.0-6-gf8a5