[Dnsmasq-discuss] [PATCH] Add interface name, vendor class if present and lease expiration time to dbus signals

Victorien Molle victorien.molle at wifirst.fr
Wed Dec 4 19:40:14 GMT 2019


Thanks Nicolas, I will look into the solution you are proposing.

On Wed, Dec 04, 2019 at 08:18:56PM +0100, Nicolas Cavallari wrote:
> On 04/12/2019 13:24, Victorien Molle wrote:
> > For our usage, we need to have more informations sent over D-Bus such as the interface
> > name, the vendor class identifier and the lease expiration time.
> > 
> > Note: in order to get leases extradata be populated, we enabled this feature if D-Bus
> > is enabled in configuration file (this was enabled in the past only if a script was
> > ran on leases updates).
> 
> D-Bus has this disadvantage that the change you are proposing completely
> breaks the existing D-Bus API that one may be relying on, and many D-Bus
> handling libraries would be incapable of understanding both API at the time.
> 
> One solution would be to keep the old signal and also send a new signal
> with the original info plus the extra, possibly in a way that allows to
> add more over time (a dict ?).
> 
> (Also, this API should be documented in the file dbus/DBus-interface...)



More information about the Dnsmasq-discuss mailing list