Skip to content

Commit ce62a5d

Browse files
Dillen Meijboomseveas
authored andcommitted
Added new device types
1 parent 2dcbea8 commit ce62a5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

NetworkManager.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ def device_class(typ):
375375
NM_DEVICE_TYPE_VXLAN: Vxlan,
376376
NM_DEVICE_TYPE_WIFI: Wireless,
377377
NM_DEVICE_TYPE_WIMAX: Wimax,
378+
NM_DEVICE_TYPE_MACSEC: MacSec,
379+
NM_DEVICE_TYPE_DUMMY: Dummy,
380+
NM_DEVICE_TYPE_PPP: PPP,
381+
NM_DEVICE_TYPE_OVS_INTERFACE: OvsIf,
382+
NM_DEVICE_TYPE_OVS_PORT: OvsPort,
383+
NM_DEVICE_TYPE_OVS_BRIDGE: OvsBridge
378384
}[typ]
379385

380386
class Adsl(Device): pass
@@ -395,6 +401,12 @@ class Vxlan(Device): pass
395401
class Wimax(Device): pass
396402
class Wired(Device): pass
397403
class Wireless(Device): pass
404+
class MacSec(Device): pass
405+
class Dummy(Device): pass
406+
class PPP(Device): pass
407+
class OvsIf(Device): pass
408+
class OvsPort(Device): pass
409+
class OvsBridge(Device): pass
398410

399411
class NSP(TransientNMDbusInterface):
400412
interface_names = ['org.freedesktop.NetworkManager.Wimax.NSP']

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy