From 58f8be580039b0575b197b9573a1c92745d96d30 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 17 Jan 2017 20:25:09 +0100 Subject: New upstream version 1.5.90 --- ...bus-org.freedesktop.NetworkManager.Settings.xml | 288 +++++++++++++++++++++ 1 file changed, 288 insertions(+) create mode 100644 docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml (limited to 'docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml') diff --git a/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml new file mode 100644 index 00000000..9882f812 --- /dev/null +++ b/docs/api/dbus-org.freedesktop.NetworkManager.Settings.xml @@ -0,0 +1,288 @@ + + + + org.freedesktop.NetworkManager.Settings + org.freedesktop.NetworkManager.Settings + org.freedesktop.NetworkManager.Settings + Methods + +ListConnections (OUT ao connections); +GetConnectionByUuid (IN s uuid, + OUT o connection); +AddConnection (IN a{sa{sv}} connection, + OUT o path); +AddConnectionUnsaved (IN a{sa{sv}} connection, + OUT o path); +LoadConnections (IN as filenames, + OUT b status, + OUT as failures); +ReloadConnections (OUT b status); +SaveHostname (IN s hostname); + + + + Signals + +PropertiesChanged (a{sv} properties); +NewConnection (o connection); +ConnectionRemoved (o connection); + + + + Properties + +Connections readable ao +Hostname readable s +CanModify readable b + + + + Description + The Settings interface allows clients to view and administrate the + connections stored and used by NetworkManager. + + + + Method Details + + The ListConnections() method + org.freedesktop.NetworkManager.Settings.ListConnections() + +ListConnections (OUT ao connections); + + List the saved network connections known to NetworkManager. + + + + OUT ao connections: + List of connections. + + + + + The GetConnectionByUuid() method + org.freedesktop.NetworkManager.Settings.GetConnectionByUuid() + +GetConnectionByUuid (IN s uuid, + OUT o connection); + + Retrieve the object path of a connection, given that connection's UUID. + + + + IN s uuid: + The UUID to find the connection object path for. + + + OUT o connection: + The connection's object path. + + + + + The AddConnection() method + org.freedesktop.NetworkManager.Settings.AddConnection() + +AddConnection (IN a{sa{sv}} connection, + OUT o path); + + 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. + + + + IN a{sa{sv}} connection: + Connection settings and properties. + + + OUT o path: + Object path of the new connection that was just added. + + + + + The AddConnectionUnsaved() method + org.freedesktop.NetworkManager.Settings.AddConnectionUnsaved() + +AddConnectionUnsaved (IN a{sa{sv}} connection, + OUT o path); + + 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. Note that unsaved changes + will be lost if the connection is reloaded from disk (either automatically + on file change or due to an explicit ReloadConnections call). + + + + IN a{sa{sv}} connection: + Connection settings and properties. + + + OUT o path: + Object path of the new connection that was just added. + + + + + The LoadConnections() method + org.freedesktop.NetworkManager.Settings.LoadConnections() + +LoadConnections (IN as filenames, + OUT b status, + OUT as failures); + + 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. (If "monitor-connection-files" in + NetworkManager.conf is "true", then this will have no real effect, but is + harmless.) As with AddConnection(), this operation does not necessarily + start the network connection. + + + + IN as filenames: + Array of paths to on-disk connection profiles in directories monitored by NetworkManager. + + + OUT b status: + 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). + + + OUT as failures: + Paths of connection files that could not be loaded. + + + + + The ReloadConnections() method + org.freedesktop.NetworkManager.Settings.ReloadConnections() + +ReloadConnections (OUT b status); + + Tells NetworkManager to reload all connection files from disk, including + noticing any added or deleted connection files. By default, connections + are re-read automatically any time they change, so you only need to use + this command if you have set "monitor-connection-files=false" in + NetworkManager.conf. + + + + OUT b status: + Success or failure. + + + + + The SaveHostname() method + org.freedesktop.NetworkManager.Settings.SaveHostname() + +SaveHostname (IN s hostname); + + Save the hostname to persistent configuration. + + + + IN s hostname: + The hostname to save to persistent configuration. If blank, the persistent hostname is cleared. + + + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Settings::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0. + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + The "NewConnection" signal + org.freedesktop.NetworkManager.Settings::NewConnection + +NewConnection (o connection); + + 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. + + + + o connection: + Object path of the new connection. + + + + + The "ConnectionRemoved" signal + org.freedesktop.NetworkManager.Settings::ConnectionRemoved + +ConnectionRemoved (o connection); + + 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. + + + + o connection: + Object path of the removed connection. + + + + + + Property Details + + The "Connections" property + org.freedesktop.NetworkManager.Settings:Connections + +Connections readable ao + + List of object paths of available network connection profiles. + + + + The "Hostname" property + org.freedesktop.NetworkManager.Settings:Hostname + +Hostname readable s + + The machine hostname stored in persistent configuration. + + + + The "CanModify" property + org.freedesktop.NetworkManager.Settings:CanModify + +CanModify readable b + + If true, adding and modifying connections is supported. + + + + + -- cgit 1.3.0-6-gf8a5