From d6201f5d8daada3d64a0a3e0038e14eebec683ce Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 3 Aug 2016 22:59:23 +0200 Subject: Imported Upstream version 1.2.4 --- .../html/gdbus-org.freedesktop.NetworkManager.html | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'docs/api/html/gdbus-org.freedesktop.NetworkManager.html') diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.html index c72f1e26..f97d5301 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.html @@ -36,6 +36,7 @@

Methods

+Reload                   (IN  u         flags);
 GetDevices               (OUT ao        devices);
 GetAllDevices            (OUT ao        devices);
 GetDeviceByIpIface       (IN  s         iface,
@@ -102,6 +103,43 @@
 

Method Details

+

The Reload() method

+
+Reload (IN  u flags);
+
+

Reload NetworkManager's configuration and perform certain updates, like flushing a cache or + rewriting external state to disk. This is similar to sending SIGHUP to NetworkManager but it + allows for more fine-grained control over what to reload (see flags). It also allows + non-root access via PolicyKit and contrary to signals it is synchronous. +

+

No flags (0x00) means to reload everything that is supported which is identical to + sending a SIGHUP. + (0x01) means to reload the NetworkManager.conf configuration from disk. Note that this + does not include connections, which can be reloaded via Setting's ReloadConnections. + (0x02) means to update DNS configuration, which usually involves writing /etc/resolv.conf + anew. + (0x04) means to restart the DNS plugin. This is for example useful when using + dnsmasq plugin, which uses additional configuration in /etc/NetworkManager/dnsmasq.d. + If you edit those files, you can restart the DNS plugin. This action shortly interrupts + rename resolution. + Note that flags may affect each other. For example, restarting the DNS plugin (0x04) + implicitly updates DNS too (0x02). Or when reloading the configuration (0x01), changes + to DNS setting also cause a DNS update (0x02). However, (0x01) does not involve restarting + the DNS plugin (0x02), unless an entirely different plugin is selected. +

+
++++ + + + + +

IN u flags:

optional flags to specify which parts shall be reloaded.

+
+
+

The GetDevices() method

 GetDevices (OUT ao devices);
-- 
cgit 1.3.0-6-gf8a5