sargon / ddhcpd

A distributed DHCP Daemon
GNU General Public License v3.0
31 stars 11 forks source link

add ubus calls #3

Closed aparcar closed 6 years ago

aparcar commented 6 years ago

As you offer a CLI changing parameters on the run, it should be easy to add some UBUS functionality.

Is that a planned feature?

sargon commented 6 years ago

It is currently not planed to integrate ubus. What kind of functionality is on your mind?

aparcar commented 6 years ago
sargon commented 6 years ago

That sounds like you can plug that into an extra binary, maybe an extension to ddhcpdctl or directly into the hook binary. My goal with ddhcpd is to keep all deployment related stuff out of the main codebase. Otherwise I would have extra code for every mesh protocoll or whatever in there, too. But there is no limitation to extend those in the environment.

christf commented 6 years ago

I like the approach using hooks. It keeps the complexity away of ddhcpd.