We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce62a5d commit c92cbd9Copy full SHA for c92cbd9
1 file changed
NetworkManager.py
@@ -281,6 +281,9 @@ class NetworkManager(NMDbusInterface):
281
def auto_reconnect(self):
282
pass
283
284
+class Statistics(NMDbusInterface):
285
+ object_path = '/org/freedesktop/NetworkManager/Statistics'
286
+
287
class Settings(NMDbusInterface):
288
object_path = '/org/freedesktop/NetworkManager/Settings'
289
@@ -331,6 +334,7 @@ class VPNConnection(ActiveConnection):
331
334
interface_names = ['org.freedesktop.NetworkManager.VPN.Connection']
332
335
333
336
class Device(NMDbusInterface):
337
+ interface_names = ['org.freedesktop.NetworkManager.Device', 'org.freedesktop.NetworkManager.Device.Statistics']
338
def __new__(klass, object_path):
339
if klass == Device:
340
# Automatically specialize the device
0 commit comments