summary refs log tree commit diff
path: root/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-08-12 19:21:11 +0200
committerMichael Biebl <biebl@debian.org>2022-08-12 19:21:11 +0200
commit6accbd3ec0e42d8633bbde4d47ed7bfe854e7e0b (patch)
treea77a0617213a5183a4de43824e3fbae9779e9b8e /docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml
parentf7c750061dab327e638c0129cfafd5b2215b3a2e (diff)
New upstream version 1.38.4 upstream/1.38.4
Diffstat (limited to 'docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml')
-rw-r--r--docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml251
1 files changed, 155 insertions, 96 deletions
diff --git a/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml
index 3dfc50e1..b501ea69 100644
--- a/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml
+++ b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml
@@ -44,8 +44,9 @@
   </refsect1>
 <refsect1 role="desc" id="gdbus-interface-org-freedesktop-NetworkManager-Settings">
   <title role="desc.title">Description</title>
-  <para>      The Settings interface allows clients to view and administrate the
-      connections stored and used by NetworkManager.
+  <para>
+The Settings interface allows clients to view and administrate the
+connections stored and used by NetworkManager.
 </para>
 </refsect1>
 <refsect1 role="details" id="gdbus-methods-org.freedesktop.NetworkManager.Settings">
@@ -56,12 +57,15 @@
 <programlisting>
 ListConnections (OUT ao connections);
 </programlisting>
-<para>        List the saved network connections known to NetworkManager.
+<para>
+List the saved network connections known to NetworkManager.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>OUT ao <parameter>connections</parameter></literal>:</term>
-  <listitem><para>List of connections.</para></listitem>
+  <listitem><para>
+List of connections.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -72,16 +76,21 @@ ListConnections (OUT ao connections);
 GetConnectionByUuid (IN  s uuid,
                      OUT o connection);
 </programlisting>
-<para>        Retrieve the object path of a connection, given that connection's UUID.
+<para>
+Retrieve the object path of a connection, given that connection's UUID.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN s <parameter>uuid</parameter></literal>:</term>
-  <listitem><para>The UUID to find the connection object path for.</para></listitem>
+  <listitem><para>
+The UUID to find the connection object path for.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT o <parameter>connection</parameter></literal>:</term>
-  <listitem><para>The connection's object path.</para></listitem>
+  <listitem><para>
+The connection's object path.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -92,19 +101,24 @@ GetConnectionByUuid (IN  s uuid,
 AddConnection (IN  a{sa{sv}} connection,
                OUT o         path);
 </programlisting>
-<para>        Add new connection and save it to disk. This operation does not start the
-        network connection unless (1) device is idle and able to connect to the
-        network described by the new connection, and (2) the connection is allowed
-        to be started automatically.
+<para>
+Add new connection and save it to disk. This operation does not start the
+network connection unless (1) device is idle and able to connect to the
+network described by the new connection, and (2) the connection is allowed
+to be started automatically.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN a{sa{sv}} <parameter>connection</parameter></literal>:</term>
-  <listitem><para>Connection settings and properties.</para></listitem>
+  <listitem><para>
+Connection settings and properties.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT o <parameter>path</parameter></literal>:</term>
-  <listitem><para>Object path of the new connection that was just added.</para></listitem>
+  <listitem><para>
+Object path of the new connection that was just added.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -115,20 +129,25 @@ AddConnection (IN  a{sa{sv}} connection,
 AddConnectionUnsaved (IN  a{sa{sv}} connection,
                       OUT o         path);
 </programlisting>
-<para>        Add new connection but do not save it to disk immediately. This operation
-        does not start the network connection unless (1) device is idle and able
-        to connect to the network described by the new connection, and (2) the
-        connection is allowed to be started automatically. Use the 'Save' method
-        on the connection to save these changes to disk.
+<para>
+Add new connection but do not save it to disk immediately. This operation
+does not start the network connection unless (1) device is idle and able
+to connect to the network described by the new connection, and (2) the
+connection is allowed to be started automatically. Use the 'Save' method
+on the connection to save these changes to disk.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN a{sa{sv}} <parameter>connection</parameter></literal>:</term>
-  <listitem><para>Connection settings and properties.</para></listitem>
+  <listitem><para>
+Connection settings and properties.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT o <parameter>path</parameter></literal>:</term>
-  <listitem><para>Object path of the new connection that was just added.</para></listitem>
+  <listitem><para>
+Object path of the new connection that was just added.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -142,64 +161,81 @@ AddConnection2 (IN  a{sa{sv}} settings,
                 OUT o         path,
                 OUT a{sv}     result);
 </programlisting>
-<para>        Add a new connection profile.
-</para><para>        AddConnection2 is an alternative to
-        <link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnection">AddConnection</link> and
-        <link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnectionUnsaved">AddConnectionUnsaved</link>.
-        The new variant can do everything that the older variants could, and more.
-        Its behavior is extensible via extra <constant>flags</constant> and <constant>args</constant> arguments.
-</para><para>        The <constant>flags</constant> argument accepts the combination of following values,
-        logically or-ed together:
-</para><para>        <variablelist>
-        <varlistentry>
-          <term><literal>0x1 (to-disk)</literal>:</term>
-          <listitem><para>The connection is persisted to disk.</para></listitem>
-        </varlistentry>
-        <varlistentry>
-          <term><literal>0x2 (in-memory)</literal>:</term>
-          <listitem><para>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.</para></listitem>
-        </varlistentry>
-        <varlistentry>
-          <term><literal>0x20 (block-autoconnect)</literal>:</term>
-          <listitem><para>Blocks auto-connect on the new profile</para></listitem>
-        </varlistentry>
-        </variablelist>
-</para><para>        The <constant>args</constant> argument accepts the following keys:
-</para><para>        <variablelist>
-        <varlistentry>
-          <term><literal>plugin</literal>:</term>
-          <listitem><para>The settings plugin the newly added connection will
-          use, such as "keyfile" or "ifcfg-rh".</para>
-          <para role="since">Since 1.38</para></listitem>
-        </varlistentry>
-        </variablelist>
-</para><para>        Either the flags 0x1 (to-disk) or 0x2 (in-memory) must be specified.
-        The effect is whether to behave like
-        <link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnection">AddConnection</link> or
-        <link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnectionUnsaved">AddConnectionUnsaved</link>.
+<para>
+Add a new connection profile.
+</para><para>
+AddConnection2 is an alternative to
+<link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnection">AddConnection</link> and
+<link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnectionUnsaved">AddConnectionUnsaved</link>.
+The new variant can do everything that the older variants could, and more.
+Its behavior is extensible via extra <constant>flags</constant> and <constant>args</constant> arguments.
+</para><para>
+The <constant>flags</constant> argument accepts the combination of following values,
+logically or-ed together:
+</para><para>
+<variablelist>
+<varlistentry>
+<term><literal>0x1 (to-disk)</literal>:</term>
+<listitem><para>The connection is persisted to disk.</para></listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>0x2 (in-memory)</literal>:</term>
+<listitem><para>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.</para></listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>0x20 (block-autoconnect)</literal>:</term>
+<listitem><para>Blocks auto-connect on the new profile</para></listitem>
+</varlistentry>
+</variablelist>
+</para><para>
+The <constant>args</constant> argument accepts the following keys:
+</para><para>
+<variablelist>
+<varlistentry>
+<term><literal>plugin</literal>:</term>
+<listitem><para>The settings plugin the newly added connection will
+use, such as "keyfile" or "ifcfg-rh".</para>
+<para role="since">Since 1.38</para></listitem>
+</varlistentry>
+</variablelist>
+</para><para>
+Either the flags 0x1 (to-disk) or 0x2 (in-memory) must be specified.
+The effect is whether to behave like
+<link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnection">AddConnection</link> or
+<link linkend="gdbus-method-org-freedesktop-NetworkManager-Settings.AddConnectionUnsaved">AddConnectionUnsaved</link>.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN a{sa{sv}} <parameter>settings</parameter></literal>:</term>
-  <listitem><para>New connection settings, properties, and (optionally) secrets.</para></listitem>
+  <listitem><para>
+New connection settings, properties, and (optionally) secrets.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>IN u <parameter>flags</parameter></literal>:</term>
-  <listitem><para>Flags. Unknown flags cause the call to fail.</para></listitem>
+  <listitem><para>
+Flags. Unknown flags cause the call to fail.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>IN a{sv} <parameter>args</parameter></literal>:</term>
-  <listitem><para>Optional arguments dictionary, for extentibility. Specifying unknown keys causes the call to fail.</para></listitem>
+  <listitem><para>
+Optional arguments dictionary, for extentibility. Specifying unknown keys causes the call to fail.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT o <parameter>path</parameter></literal>:</term>
-  <listitem><para>Object path of the new connection that was just added.</para></listitem>
+  <listitem><para>
+Object path of the new connection that was just added.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT a{sv} <parameter>result</parameter></literal>:</term>
-  <listitem><para>Output argument, currently no additional results are returned.</para></listitem>
+  <listitem><para>
+Output argument, currently no additional results are returned.
+</para></listitem>
 </varlistentry>
 </variablelist>
 <para role="since">Since 1.20</para>
@@ -212,27 +248,35 @@ LoadConnections (IN  as filenames,
                  OUT b  status,
                  OUT as failures);
 </programlisting>
-<para>        Loads or reloads the indicated connections from disk. You should call this
-        after making changes directly to an on-disk connection file to make sure
-        that NetworkManager sees the changes.
-        As with AddConnection(), this operation does not necessarily
-        start the network connection.
-</para><para>        Note that before 1.20, NetworkManager had a bug and this <parameter>status</parameter> value was wrong.
-        It is better to assume success if the method does not return with a D-Bus error.
-        On top of that, you can look at <parameter>failures</parameter> to know whether any of the requested files failed.
+<para>
+Loads or reloads the indicated connections from disk. You should call this
+after making changes directly to an on-disk connection file to make sure
+that NetworkManager sees the changes.
+As with AddConnection(), this operation does not necessarily
+start the network connection.
+</para><para>
+Note that before 1.20, NetworkManager had a bug and this <parameter>status</parameter> value was wrong.
+It is better to assume success if the method does not return with a D-Bus error.
+On top of that, you can look at <parameter>failures</parameter> to know whether any of the requested files failed.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN as <parameter>filenames</parameter></literal>:</term>
-  <listitem><para>Array of paths to on-disk connection profiles in directories monitored by NetworkManager.</para></listitem>
+  <listitem><para>
+Array of paths to on-disk connection profiles in directories monitored by NetworkManager.
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT b <parameter>status</parameter></literal>:</term>
-  <listitem><para>Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied).</para></listitem>
+  <listitem><para>
+Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied).
+</para></listitem>
 </varlistentry>
 <varlistentry>
   <term><literal>OUT as <parameter>failures</parameter></literal>:</term>
-  <listitem><para>Paths of connection files that could not be loaded.</para></listitem>
+  <listitem><para>
+Paths of connection files that could not be loaded.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -242,13 +286,16 @@ LoadConnections (IN  as filenames,
 <programlisting>
 ReloadConnections (OUT b status);
 </programlisting>
-<para>        Tells NetworkManager to reload all connection files from disk, including
-        noticing any added or deleted connection files.
+<para>
+Tells NetworkManager to reload all connection files from disk, including
+noticing any added or deleted connection files.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>OUT b <parameter>status</parameter></literal>:</term>
-  <listitem><para>This always returns <constant>TRUE</constant>.</para></listitem>
+  <listitem><para>
+This always returns <constant>TRUE</constant>.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -258,12 +305,15 @@ ReloadConnections (OUT b status);
 <programlisting>
 SaveHostname (IN  s hostname);
 </programlisting>
-<para>        Save the hostname to persistent configuration.
+<para>
+Save the hostname to persistent configuration.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>IN s <parameter>hostname</parameter></literal>:</term>
-  <listitem><para>The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.</para></listitem>
+  <listitem><para>
+The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -276,19 +326,22 @@ SaveHostname (IN  s hostname);
 <programlisting>
 NewConnection (o connection);
 </programlisting>
-<para>        Emitted when a new connection has been added after NetworkManager has
-        started up and initialized. This signal is not emitted for connections
-        read while starting up, because NetworkManager's D-Bus service is only
-        available after all connections have been read, and to prevent spamming
-        listeners with too many signals at one time. To retrieve the initial
-        connection list, call the ListConnections() method once, and then listen
-        for individual Settings.NewConnection and Settings.Connection.Deleted
-        signals for further updates.
+<para>
+Emitted when a new connection has been added after NetworkManager has
+started up and initialized. This signal is not emitted for connections
+read while starting up, because NetworkManager's D-Bus service is only
+available after all connections have been read, and to prevent spamming
+listeners with too many signals at one time. To retrieve the initial
+connection list, call the ListConnections() method once, and then listen
+for individual Settings.NewConnection and Settings.Connection.Deleted
+signals for further updates.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>o <parameter>connection</parameter></literal>:</term>
-  <listitem><para>Object path of the new connection.</para></listitem>
+  <listitem><para>
+Object path of the new connection.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -298,16 +351,19 @@ NewConnection (o connection);
 <programlisting>
 ConnectionRemoved (o connection);
 </programlisting>
-<para>        Emitted when a connection is no longer available. This happens when the
-        connection is deleted or if it is no longer accessible by any of the
-        system's logged-in users. After receipt of this signal, the connection no
-        longer exists and cannot be used. Also see the Settings.Connection.Removed
-        signal.
+<para>
+Emitted when a connection is no longer available. This happens when the
+connection is deleted or if it is no longer accessible by any of the
+system's logged-in users. After receipt of this signal, the connection no
+longer exists and cannot be used. Also see the Settings.Connection.Removed
+signal.
 </para>
 <variablelist role="params">
 <varlistentry>
   <term><literal>o <parameter>connection</parameter></literal>:</term>
-  <listitem><para>Object path of the removed connection.</para></listitem>
+  <listitem><para>
+Object path of the removed connection.
+</para></listitem>
 </varlistentry>
 </variablelist>
 </refsect2>
@@ -320,7 +376,8 @@ ConnectionRemoved (o connection);
 <programlisting>
 Connections  readable   ao
 </programlisting>
-<para>        List of object paths of available network connection profiles.
+<para>
+List of object paths of available network connection profiles.
 </para>
 </refsect2>
 <refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Settings.Hostname">
@@ -329,7 +386,8 @@ Connections  readable   ao
 <programlisting>
 Hostname  readable   s
 </programlisting>
-<para>        The machine hostname stored in persistent configuration.
+<para>
+The machine hostname stored in persistent configuration.
 </para>
 </refsect2>
 <refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Settings.CanModify">
@@ -338,7 +396,8 @@ Hostname  readable   s
 <programlisting>
 CanModify  readable   b
 </programlisting>
-<para>        If true, adding and modifying connections is supported.
+<para>
+If true, adding and modifying connections is supported.
 </para>
 </refsect2>
 </refsect1>