Skip to content

Support creating generic devices via external "device-handler" dispatcher

Beniamino Galvani requested to merge bg/create-generic-devices into main


Add a new generic.device-handler property that specifies the name of a dispatcher script to be invoked to add and delete the interface for this connection.


With this, it becomes possible to support every kind of interface by writing a dedicated handler in /etc/NetworkManager/dispatcher.d/device or /usr/lib/NetworkManager/dispatcher.d/device. The interface is treated by NetworkManager as a generic device. At this point a generic device can represent two types of device classes:

  • existing interfaces that are not natively supported or recognized by NetworkManager. Those devices have the is_software property set to FALSE;

  • interfaces that are created by NM by invoking the device-handler; they have is_software set to TRUE.


Edited by Beniamino Galvani

Merge request reports