Network#
- class ignis.services.network.NetworkService(*args: Any, **kwargs: Any)#
A Network service. Uses
NetworkManager
.
- class ignis.services.network.Wifi(client: gi.repository.NM.Client)#
The class for controlling Wi-Fi devices.
- property devices: list[WifiDevice]#
read-only
A list of Wi-Fi devices.
- class ignis.services.network.Ethernet(client: gi.repository.NM.Client)#
The class for controlling Ethernet devices.
- property devices: list[EthernetDevice]#
read-only
A list of Ethernet devices.
- class ignis.services.network.Vpn(client: gi.repository.NM.Client)#
The class for controlling VPN connections.
- property connections: list[VpnConnection]#
read-only
A list of VPN connections.
- class ignis.services.network.WifiDevice(device: gi.repository.NM.DeviceWifi, client: gi.repository.NM.Client)#
A Wifi device.
- property access_points: list[WifiAccessPoint]#
read-only
A list of access points (Wi-FI networks).
- property ap: WifiAccessPoint#
read-only
The currently active access point.
- class ignis.services.network.EthernetDevice(device: gi.repository.NM.DeviceEthernet, client: gi.repository.NM.Client)#
An Ethernet device.
- class ignis.services.network.WifiAccessPoint(point: gi.repository.NM.AccessPoint, client: gi.repository.NM.Client, device: gi.repository.NM.DeviceWifi)#
A Wi-Fi access point (Wi-Fi network).
- property point: gi.repository.NM.AccessPoint#
read-only
An instance of
NM.AccessPoint
.
- property last_seen: int#
read-only
The timestamp for the last time the access point was found in scan results.
- property icon_name: str#
read-only
The current icon name for the access point. Depends on signal strength and current connection status.
- property requires_password: bool#
read-only
Whether the access point requires a password to connect.
- property is_connected: bool#
read-only
Whether the device is currently connected to this access point.