summary refs log tree commit diff
path: root/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html')
-rw-r--r--docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html194
1 files changed, 152 insertions, 42 deletions
diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
index ee7203c5..03f74ce4 100644
--- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
+++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
@@ -92,13 +92,33 @@
 <div class="refsect1">
 <a name="gdbus-methods-org.freedesktop.NetworkManager.Device"></a><h2>Method Details</h2>
 <div class="refsect2">
-<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Reapply"></a><h3>The <code class="function">Reapply()</code> method</h3>
+<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Reapply"></a><h3>The Reapply() method</h3>
 <pre class="programlisting">
 Reapply (IN  a{sa{sv}} connection,
          IN  t         version_id,
          IN  u         flags);
 </pre>
-<p>Attempts to update the configuration of a device without deactivating it. NetworkManager         has the concept of connections, which are profiles that contain the configuration for         a networking device. Those connections are exposed via D-Bus as individual objects         that can be created, modified and deleted. When activating such a settings-connection         on a device, the settings-connection is cloned to become an applied-connection and used to         configure the device (see GetAppliedConnection). Subsequent modification of the         settings-connection don't propagate automatically to the device's applied-connection         (with exception of the firewall-zone and the metered property). For the changes to take         effect, you can either re-activate the settings-connection, or call Reapply.         The Reapply call allows you to directly update the applied-connection and reconfigure         the device.         Reapply can also be useful if the currently applied-connection is equal to the connection         that is about to be reapplied. This allows to reconfigure the device and revert external         changes like removing or adding an IP address (which NetworkManager doesn't revert         automatically because it is assumed that the user made these changes intentionally outside         of NetworkManager).         Reapply can make the applied-connection different from the settings-connection,         just like updating the settings-connection can make them different.</p>
+<p>        Attempts to update the configuration of a device without deactivating it.
+        NetworkManager has the concept of connections, which are profiles that
+        contain the configuration for a networking device. Those connections are
+        exposed via D-Bus as individual objects that can be created, modified and
+        deleted. When activating such a settings-connection on a device, the
+        settings-connection is cloned to become an applied-connection and used to
+        configure the device (see GetAppliedConnection). Subsequent modification
+        of the settings-connection don't propagate automatically to the device's
+        applied-connection (with exception of the firewall-zone and the metered
+        property). For the changes to take effect, you can either re-activate the
+        settings-connection, or call Reapply. The Reapply call allows you to
+        directly update the applied-connection and reconfigure the device. Reapply
+        can also be useful if the currently applied-connection is equal to the
+        connection that is about to be reapplied. This allows to reconfigure the
+        device and revert external changes like removing or adding an IP address
+        (which NetworkManager doesn't revert automatically because it is assumed
+        that the user made these changes intentionally outside of NetworkManager).
+        Reapply can make the applied-connection different from the
+        settings-connection, just like updating the settings-connection can make
+        them different.
+</p>
 <div class="variablelist"><table border="0" class="variablelist">
 <colgroup>
 <col align="left" valign="top">
@@ -107,28 +127,35 @@ Reapply (IN  a{sa{sv}} connection,
 <tbody>
 <tr>
 <td><p><span class="term"><code class="literal">IN a{sa{sv}} <em class="parameter"><code>connection</code></em></code>:</span></p></td>
-<td><p>The optional connection settings that will be reapplied on the device. If empty, the           currently active settings-connection will be used. The connection cannot arbitrarly           differ from the current applied-connection otherwise the call will fail.           Only certain changes are supported, like adding or removing IP addresses.</p></td>
+<td><p>The optional connection settings that will be reapplied on the device. If empty, the currently active settings-connection will be used. The connection cannot arbitrarly differ from the current applied-connection otherwise the call will fail. Only certain changes are supported, like adding or removing IP addresses.</p></td>
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">IN t <em class="parameter"><code>version_id</code></em></code>:</span></p></td>
-<td><p>If non-zero, the current version id of the applied-connection must match.           The current version id can be retrieved via GetAppliedConnection.           This optional argument allows to catch concurrent modifications between           the GetAppliedConnection call and Reapply.</p></td>
+<td><p>If non-zero, the current version id of the applied-connection must match. The current version id can be retrieved via GetAppliedConnection. This optional argument allows to catch concurrent modifications between the GetAppliedConnection call and Reapply.</p></td>
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></p></td>
-<td><p>Flags which would modify the behavior of the Reapply call.           There are no flags defined currently and the users should use the value of 0.</p></td>
+<td><p>Flags which would modify the behavior of the Reapply call. There are no flags defined currently and the users should use the value of 0.</p></td>
 </tr>
 </tbody>
 </table></div>
 </div>
 <hr>
 <div class="refsect2">
-<a name="gdbus-method-org-freedesktop-NetworkManager-Device.GetAppliedConnection"></a><h3>The <code class="function">GetAppliedConnection()</code> method</h3>
+<a name="gdbus-method-org-freedesktop-NetworkManager-Device.GetAppliedConnection"></a><h3>The GetAppliedConnection() method</h3>
 <pre class="programlisting">
 GetAppliedConnection (IN  u         flags,
                       OUT a{sa{sv}} connection,
                       OUT t         version_id);
 </pre>
-<p>Get the currently applied connection on the device. This is a snapshot of the last activated         connection on the device, that is the configuration that is currently applied on the device.         Usually this is the same as GetSettings of the referenced settings connection. However, it         can differ if the settings connection was subsequently modified or the applied connection was         modified by Reapply. The applied connection is set when activating a device or when calling         Reapply.</p>
+<p>        Get the currently applied connection on the device. This is a snapshot of
+        the last activated connection on the device, that is the configuration
+        that is currently applied on the device. Usually this is the same as
+        GetSettings of the referenced settings connection. However, it can differ
+        if the settings connection was subsequently modified or the applied
+        connection was modified by Reapply. The applied connection is set when
+        activating a device or when calling Reapply.
+</p>
 <div class="variablelist"><table border="0" class="variablelist">
 <colgroup>
 <col align="left" valign="top">
@@ -137,7 +164,7 @@ GetAppliedConnection (IN  u         flags,
 <tbody>
 <tr>
 <td><p><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></p></td>
-<td><p>Flags which would modify the behavior of the GetAppliedConnection call.           There are no flags defined currently and the users should use the value of 0.</p></td>
+<td><p>Flags which would modify the behavior of the GetAppliedConnection call. There are no flags defined currently and the users should use the value of 0.</p></td>
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">OUT a{sa{sv}} <em class="parameter"><code>connection</code></em></code>:</span></p></td>
@@ -145,26 +172,31 @@ GetAppliedConnection (IN  u         flags,
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">OUT t <em class="parameter"><code>version_id</code></em></code>:</span></p></td>
-<td><p>The version-id of the currently applied connection. This can be specified during             Reapply to avoid races where you first fetch the applied connection, modify it             and try to reapply it. If the applied connection is modified in the meantime, the             version_id gets incremented and Reapply will fail.</p></td>
+<td><p>The version-id of the currently applied connection. This can be specified during Reapply to avoid races where you first fetch the applied connection, modify it and try to reapply it. If the applied connection is modified in the meantime, the version_id gets incremented and Reapply will fail.</p></td>
 </tr>
 </tbody>
 </table></div>
 </div>
 <hr>
 <div class="refsect2">
-<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Disconnect"></a><h3>The <code class="function">Disconnect()</code> method</h3>
+<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Disconnect"></a><h3>The Disconnect() method</h3>
 <pre class="programlisting">
 Disconnect ();
 </pre>
-<p>Disconnects a device and prevents the device from automatically activating further connections without user intervention.</p>
+<p>        Disconnects a device and prevents the device from automatically activating
+        further connections without user intervention.
+</p>
 </div>
 <hr>
 <div class="refsect2">
-<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Delete"></a><h3>The <code class="function">Delete()</code> method</h3>
+<a name="gdbus-method-org-freedesktop-NetworkManager-Device.Delete"></a><h3>The Delete() method</h3>
 <pre class="programlisting">
 Delete ();
 </pre>
-<p>Deletes a software device from NetworkManager and removes the interface from the system.         The method returns an error when called for a hardware device.</p>
+<p>        Deletes a software device from NetworkManager and removes the interface
+        from the system. The method returns an error when called for a hardware
+        device.
+</p>
 </div>
 </div>
 <div class="refsect1">
@@ -185,15 +217,15 @@ StateChanged (u new_state,
 <tbody>
 <tr>
 <td><p><span class="term"><code class="literal">u <em class="parameter"><code>new_state</code></em></code>:</span></p></td>
-<td><p>The new state of the device.</p></td>
+<td><p>(<a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceState">NMDeviceState</a>) The new state of the device.</p></td>
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">u <em class="parameter"><code>old_state</code></em></code>:</span></p></td>
-<td><p>The previous state of the device.</p></td>
+<td><p>(<a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceState">NMDeviceState</a>) The previous state of the device.</p></td>
 </tr>
 <tr>
 <td><p><span class="term"><code class="literal">u <em class="parameter"><code>reason</code></em></code>:</span></p></td>
-<td><p>A reason for the state transition.</p></td>
+<td><p>(<a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceStateReason">NMDeviceStateReason</a>) A reason for the state transition.</p></td>
 </tr>
 </tbody>
 </table></div>
@@ -206,7 +238,18 @@ StateChanged (u new_state,
 <pre class="programlisting">
 Udi  readable   s
 </pre>
-<p>Operating-system specific transient device hardware identifier.  This         is an opaque string representing the underlying hardware for the device,         and shouldn't be used to keep track of individual devices.  For some         device types (Bluetooth, Modems) it is an identifier used by the         hardware service (ie bluez or ModemManager) to refer to that device,         and client programs use it get additional information from those         services which NM does not provide.  The Udi is not guaranteed to be         consistent across reboots or hotplugs of the hardware. If you're looking         for a way to uniquely track each device in your application, use the         object path.  If you're looking for a way to track a specific piece of         hardware across reboot or hotplug, use a MAC address or USB serial         number.</p>
+<p>        Operating-system specific transient device hardware identifier. This is an
+        opaque string representing the underlying hardware for the device, and
+        shouldn't be used to keep track of individual devices. For some device
+        types (Bluetooth, Modems) it is an identifier used by the hardware service
+        (ie bluez or ModemManager) to refer to that device, and client programs
+        use it get additional information from those services which NM does not
+        provide. The Udi is not guaranteed to be consistent across reboots or
+        hotplugs of the hardware. If you're looking for a way to uniquely track
+        each device in your application, use the object path. If you're looking
+        for a way to track a specific piece of hardware across reboot or hotplug,
+        use a MAC address or USB serial number.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -214,7 +257,8 @@ Udi  readable   s
 <pre class="programlisting">
 Interface  readable   s
 </pre>
-<p>The name of the device's control (and often data) interface.</p>
+<p>        The name of the device's control (and often data) interface.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -222,7 +266,11 @@ Interface  readable   s
 <pre class="programlisting">
 IpInterface  readable   s
 </pre>
-<p>The name of the device's data interface when available.  This property         may not refer to the actual data interface until the device has         successfully established a data connection, indicated by the device's         State becoming ACTIVATED.</p>
+<p>        The name of the device's data interface when available. This property may
+        not refer to the actual data interface until the device has successfully
+        established a data connection, indicated by the device's State becoming
+        ACTIVATED.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -230,7 +278,8 @@ IpInterface  readable   s
 <pre class="programlisting">
 Driver  readable   s
 </pre>
-<p>The driver handling the device.</p>
+<p>        The driver handling the device.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -238,7 +287,8 @@ Driver  readable   s
 <pre class="programlisting">
 DriverVersion  readable   s
 </pre>
-<p>The version of the driver handling the device.</p>
+<p>        The version of the driver handling the device.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -246,7 +296,8 @@ DriverVersion  readable   s
 <pre class="programlisting">
 FirmwareVersion  readable   s
 </pre>
-<p>The firmware version for the device.</p>
+<p>        The firmware version for the device.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -254,7 +305,10 @@ FirmwareVersion  readable   s
 <pre class="programlisting">
 Capabilities  readable   u
 </pre>
-<p>Flags describing the capabilities of the device.</p>
+<p>        Flags describing the capabilities of the device.
+</p>
+<p>        Returns: <a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceCapabilities">NMDeviceCapabilities</a>
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -262,7 +316,9 @@ Capabilities  readable   u
 <pre class="programlisting">
 Ip4Address  readable   u
 </pre>
-<p>DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object instead.</p>
+<p>        DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object
+        instead.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -270,7 +326,10 @@ Ip4Address  readable   u
 <pre class="programlisting">
 State  readable   u
 </pre>
-<p>The current state of the device.</p>
+<p>        The current state of the device.
+</p>
+<p>        Returns: <a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceState">NMDeviceState</a>
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -278,7 +337,10 @@ State  readable   u
 <pre class="programlisting">
 StateReason  readable   (uu)
 </pre>
-<p>The current state and reason for changing to that state.</p>
+<p>        The current state and reason for changing to that state.
+</p>
+<p>        Returns: A tuple of  <a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceState">NMDeviceState</a> and  <a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceStateReason">NMDeviceStateReason</a>.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -286,7 +348,11 @@ StateReason  readable   (uu)
 <pre class="programlisting">
 ActiveConnection  readable   o
 </pre>
-<p>Object path of an ActiveConnection object that "owns" this device during         activation.  The ActiveConnection object tracks the life-cycle of a         connection to a specific network and implements the         org.freedesktop.NetworkManager.Connection.Active D-Bus interface.</p>
+<p>        Object path of an ActiveConnection object that "owns" this device during
+        activation. The ActiveConnection object tracks the life-cycle of a
+        connection to a specific network and implements the
+        org.freedesktop.NetworkManager.Connection.Active D-Bus interface.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -294,7 +360,10 @@ ActiveConnection  readable   o
 <pre class="programlisting">
 Ip4Config  readable   o
 </pre>
-<p>Object path of the Ip4Config object describing the configuration of the device.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.</p>
+<p>        Object path of the Ip4Config object describing the configuration of the
+        device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED
+        state.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -302,7 +371,10 @@ Ip4Config  readable   o
 <pre class="programlisting">
 Dhcp4Config  readable   o
 </pre>
-<p>Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.</p>
+<p>        Object path of the Dhcp4Config object describing the DHCP options returned
+        by the DHCP server. Only valid when the device is in the
+        NM_DEVICE_STATE_ACTIVATED state.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -310,7 +382,10 @@ Dhcp4Config  readable   o
 <pre class="programlisting">
 Ip6Config  readable   o
 </pre>
-<p>Object path of the Ip6Config object describing the configuration of the device.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.</p>
+<p>        Object path of the Ip6Config object describing the configuration of the
+        device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED
+        state.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -318,7 +393,10 @@ Ip6Config  readable   o
 <pre class="programlisting">
 Dhcp6Config  readable   o
 </pre>
-<p>Object path of the Dhcp6Config object describing the DHCP options         returned by the DHCP server.  Only valid when the device is in the         NM_DEVICE_STATE_ACTIVATED state.</p>
+<p>        Object path of the Dhcp6Config object describing the DHCP options returned
+        by the DHCP server. Only valid when the device is in the
+        NM_DEVICE_STATE_ACTIVATED state.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -326,7 +404,11 @@ Dhcp6Config  readable   o
 <pre class="programlisting">
 Managed  readwrite  b
 </pre>
-<p>Whether or not this device is managed by NetworkManager. Setting this         property has a similar effect to configuring the device as unmanaged         via the keyfile.unmanaged-devices setting in NetworkManager.conf.         Changes to this value are not persistent and lost after NetworkManager         restart.</p>
+<p>        Whether or not this device is managed by NetworkManager. Setting this
+        property has a similar effect to configuring the device as unmanaged via
+        the keyfile.unmanaged-devices setting in NetworkManager.conf. Changes to
+        this value are not persistent and lost after NetworkManager restart.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -334,7 +416,12 @@ Managed  readwrite  b
 <pre class="programlisting">
 Autoconnect  readwrite  b
 </pre>
-<p>If TRUE, indicates the device is allowed to autoconnect.  If FALSE,         manual intervention is required before the device will automatically         connect to a known network, such as activating a connection using the         device, or setting this property to TRUE.  This property cannot be         set to TRUE for default-unmanaged devices, since they never autoconnect.</p>
+<p>        If TRUE, indicates the device is allowed to autoconnect. If FALSE, manual
+        intervention is required before the device will automatically connect to a
+        known network, such as activating a connection using the device, or
+        setting this property to TRUE. This property cannot be set to TRUE for
+        default-unmanaged devices, since they never autoconnect.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -342,7 +429,9 @@ Autoconnect  readwrite  b
 <pre class="programlisting">
 FirmwareMissing  readable   b
 </pre>
-<p>If TRUE, indicates the device is likely missing firmware necessary for         its operation.</p>
+<p>        If TRUE, indicates the device is likely missing firmware necessary for its
+        operation.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -350,7 +439,9 @@ FirmwareMissing  readable   b
 <pre class="programlisting">
 NmPluginMissing  readable   b
 </pre>
-<p>If TRUE, indicates the NetworkManager plugin for the device is likely         missing or misconfigured.</p>
+<p>        If TRUE, indicates the NetworkManager plugin for the device is likely
+        missing or misconfigured.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -358,7 +449,10 @@ NmPluginMissing  readable   b
 <pre class="programlisting">
 DeviceType  readable   u
 </pre>
-<p>The general type of the network device; ie Ethernet, WiFi, etc.</p>
+<p>        The general type of the network device; ie Ethernet, WiFi, etc.
+</p>
+<p>        Returns: <a href="https://developer.gnome.org/libnm-util/0.9/libnm-util-NetworkManager.html#NMDeviceType">NMDeviceType</a>
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -366,7 +460,9 @@ DeviceType  readable   u
 <pre class="programlisting">
 AvailableConnections  readable   ao
 </pre>
-<p>An array of object paths of every configured connection that is currently 'available' through this device.</p>
+<p>        An array of object paths of every configured connection that is currently
+        'available' through this device.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -374,7 +470,11 @@ AvailableConnections  readable   ao
 <pre class="programlisting">
 PhysicalPortId  readable   s
 </pre>
-<p>If non-empty, an (opaque) indicator of the physical network         port associated with the device. This can be used to recognize  when two seemingly-separate hardware devices are actually just  different virtual interfaces to the same physical port.</p>
+<p>        If non-empty, an (opaque) indicator of the physical network port
+        associated with the device. This can be used to recognize when two
+        seemingly-separate hardware devices are actually just different virtual
+        interfaces to the same physical port.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -382,7 +482,8 @@ PhysicalPortId  readable   s
 <pre class="programlisting">
 Mtu  readable   u
 </pre>
-<p>The device MTU (maximum transmission unit).</p>
+<p>        The device MTU (maximum transmission unit).
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -390,7 +491,11 @@ Mtu  readable   u
 <pre class="programlisting">
 Metered  readable   u
 </pre>
-<p>Whether the amount of traffic flowing through the device is         subject to limitations, for example set by service providers.</p>
+<p>        Whether the amount of traffic flowing through the device is subject to
+        limitations, for example set by service providers.
+</p>
+<p>        Returns: NMMetered
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -398,7 +503,9 @@ Metered  readable   u
 <pre class="programlisting">
 LldpNeighbors  readable   aa{sv}
 </pre>
-<p>Array of LLDP neighbors; each element is a dictionary mapping         LLDP TLV names to variant boxed values.</p>
+<p>        Array of LLDP neighbors; each element is a dictionary mapping LLDP TLV
+        names to variant boxed values.
+</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -406,7 +513,10 @@ LldpNeighbors  readable   aa{sv}
 <pre class="programlisting">
 Real  readable   b
 </pre>
-<p>True if the device exists, or False for placeholder devices that         do not yet exist but could be automatically created by NetworkManager         if one of their AvailableConnections was activated.</p>
+<p>        True if the device exists, or False for placeholder devices that do not
+        yet exist but could be automatically created by NetworkManager if one of
+        their AvailableConnections was activated.
+</p>
 </div>
 </div>
 </div>