-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plans for remote/dynamic configuration backend #4
Comments
Not at the moment, but since leases are not stored in memory, it wouldn't take much to have a script that downloaded a new config and restarted the dora process, run on a timer.
|
Would you be open to a PR on this or is it out of scope? (depending on quality of course XD) |
Can you give some more detail on what you're looking for? If it's a script that takes some URL, and polls for changes, then restarts dora I'm sure something along those lines can be found on google fairly easily. |
I was interested in the lease & reservations list more than config, that's easy enough to reload, but since static addresses are in the config I suspect that's where reload-questions come from. I was looking into if ip-manager would behave if something else updated sqlite tables. There's so many tools to replicate sqlite it would be nice to use them to manage day-to-day leases and whitelist reservations. I think you could easily have concurrent servers running then if you trusted sqlite to avoid collisions by adding some transaction handling. |
I have not explicitly tested this, but I think it should. You may want to disable |
Hi,
This is an interesting project. Have you plans to support other configuration backends beside the yaml file? For example, asking a remote HTTP server every N seconds for a new config to retrieve new reservations?
Best regards,
Christoph
The text was updated successfully, but these errors were encountered: