Static
Private
_busStatic
Private
_connectionStatic
Private
_ethernetStatic
Private
_networkStatic
Private
_wifiPrivate
_networkPrivate
_propertiesPrivate
_propertiesPrivate
_propertiesContinuously updated NetworkManager properties
Static
initInitializes a new NetworkManager instance The NetworkManager is a singleton, so calling this twice will return the same object
Promise of a NetworkManager instance
Optional
bus: DBusConnectionPrivate
_listenReset the timeout for rollback for the checkpoint.
Note that the added seconds start counting from now, not "Created" timestamp or the previous expiration time. Note that the "Created" property of the checkpoint will stay unchanged by this call. However, the "RollbackTimeout" will be recalculated to give the approximate new expiration time. The new "RollbackTimeout" property will be approximate up to one second precision, which is the accuracy of the property.
Nothing, resolves on success.
The DBus object path to the checkpoint to adjust.
Number of seconds from now in which the timeout will expire. Set to 0 to disable the timeout.
Requires root access, depending on user permissions and NetworkManager policy configuration.
Initiates a new connectivity check and returns the result. In order for this method to work the properties value for ConnectivityCheckAvailable and ConnectivityCheckEnabled will both need to be true, and ConnectivityCheckUri will need to be set to a valid NetworkManager connectivity service.
https://developer-old.gnome.org/NetworkManager/stable/NetworkManager.conf.html Specifically the "connectivity section" near the bottom
Promise of a ConnectivityState value representing the current connectivity status.
Initializes and returns a new ConnectionSettingsManager ConnectionSettingsManager is a singleton, so subsequent calls will return the same object
Promise of a new ConnectionSettingsManager
Create a checkpoint of the current networking configuration for given interfaces. If rollback_timeout is not zero, a rollback is automatically performed after the given timeout.
A Promise of the DBus object path for the created Checkpoint
The time in seconds until NetworkManager will automatically rollback to the checkpoint. Set to zero for infinite.
A bitmask of CheckpointCreateFlags for checkpoint creation.
A list of device paths for which a checkpoint should be created. An empty list means all devices. Defaults to an empty list.
Requires root access, depending on user permissions and NetworkManager policy configuration.
Enables or disables built in connectivity checking mechanism in NetworkManager. The URI present in ConnectivityCheckUri will be polled to determine connection status.
https://developer-old.gnome.org/NetworkManager/stable/NetworkManager.conf.html Specifically the "connectivity section" near the bottom
If true, enable connectivity checks; if false, disable connectivity checks
Initializes and returns a new EthernetDevice array Creates an array of each ethernet device it finds EthernetDevices is a singleton, so subsequent calls will return the same object
Promise of a new EthernetDevice array
Rollback a checkpoint before the timeout is reached.
A Promise of a dictionary of devices represented by their DBus paths and RollbackResult values.
The DBus object path to the checkpoint to rollback to.
Initializes a new WifiDevice array Creates an array of each wifi device it finds WifiDevices is a singleton, so subsequent calls will return the same object
Promise of a new WifiDevice array
Private
constructorOne-time value of latest NetworkManager properties
Generated using TypeDoc
Manages communication with the NetworkManager over DBus Responsible for initializing various other managers/devices such as: