File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -395,6 +395,7 @@ def device_class(typ):
395
395
NM_DEVICE_TYPE_WIREGUARD : WireGuard ,
396
396
NM_DEVICE_TYPE_VRF : Vrf ,
397
397
NM_DEVICE_TYPE_WIFI_P2P : WifiP2p ,
398
+ NM_DEVICE_TYPE_LOOPBACK : Loopback ,
398
399
}[typ ]
399
400
400
401
class Adsl (Device ): pass
@@ -426,6 +427,7 @@ class SixLoWpan(Device): pass
426
427
class WireGuard (Device ): pass
427
428
class WifiP2p (Device ): pass
428
429
class Vrf (Device ): pass
430
+ class Loopback (Device ): pass
429
431
430
432
class NSP (TransientNMDbusInterface ):
431
433
interface_names = ['org.freedesktop.NetworkManager.Wimax.NSP' ]
@@ -814,6 +816,7 @@ def cert_to_dbus(cert):
814
816
NM_DEVICE_TYPE_WIREGUARD = 29
815
817
NM_DEVICE_TYPE_WIFI_P2P = 30
816
818
NM_DEVICE_TYPE_VRF = 31
819
+ NM_DEVICE_TYPE_LOOPBACK = 32
817
820
NM_DEVICE_CAP_NONE = 0
818
821
NM_DEVICE_CAP_NM_SUPPORTED = 1
819
822
NM_DEVICE_CAP_CARRIER_DETECT = 2
Original file line number Diff line number Diff line change @@ -6,5 +6,4 @@ python-networkmanager
6
6
If you are looking for an alternative, please try
7
7
https://github.com/python-sdbus/python-sdbus-networkmanager
8
8
9
- If python-sdbus-networkmanager does not fit your needs, and you wish to revive this project, please
10
- contact me.
9
+ If python-sdbus-networkmanager does not fit your needs, and you wish to revive this project, please contact @seveas.
Original file line number Diff line number Diff line change 3
3
from setuptools import setup
4
4
5
5
setup (name = "python-networkmanager" ,
6
- version = "2.2" ,
6
+ version = "2.2.1 " ,
7
7
author = "Dennis Kaarsemaker" ,
8
8
author_email = "dennis@kaarsemaker.net" ,
9
- url = "http://github.com/seveas /python-networkmanager" ,
9
+ url = "http://github.com/snstac /python-networkmanager" ,
10
10
description = "Easy communication with NetworkManager" ,
11
11
py_modules = ["NetworkManager" ],
12
12
install_requires = ["dbus-python" , "six" ],
You can’t perform that action at this time.
0 commit comments