about summary refs log tree commit diff
path: root/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2018-02-08 17:55:49 -0500
committerJeremy Bicha <jbicha@ubuntu.com>2018-02-08 17:55:49 -0500
commitf1c906035c6ea7eb635664835c153aed553dc2e5 (patch)
tree7b870b6cef1f902486dc706084124c6964b342a6 /introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
parentd6158994abe7b2be73443f933ed7fdcc40954c24 (diff)
parentd0408a3e3b1cc6effec321d098008ef0c4acf91b (diff)
Merge tag 'debian/1.10.4-1' into bionic
network-manager Debian release 1.10.4-1
Diffstat (limited to 'introspection/org.freedesktop.NetworkManager.Settings.Connection.xml')
-rw-r--r--introspection/org.freedesktop.NetworkManager.Settings.Connection.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
index 61bd26dd..29ddfd00 100644
--- a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
+++ b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
@@ -102,6 +102,44 @@
     <signal name="Updated"/>
 
     <!--
+        Update2:
+        @settings: New connection settings, properties, and (optionally) secrets.
+          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).
+          Unknown flags cause the call to fail.
+        @args: optional arguments dictionary, for extensibility. 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.
+        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.10.2
+    -->
+    <method name="Update2">
+      <arg name="settings" type="a{sa{sv}}" direction="in"/>
+      <arg name="flags" type="u" direction="in"/>
+      <arg name="args" type="a{sv}" direction="in"/>
+      <arg name="result" type="a{sv}" direction="out"/>
+    </method>
+
+    <!--
         Removed:
 
         Emitted when this connection is no longer available. This happens when the