WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
84 stars 37 forks source link

[FEATURE REQUEST] Some requests about fmDHCP #632

Open seglavi opened 1 month ago

seglavi commented 1 month ago

fM Version : v4.6.2

Version : **v0.8.1** **In raising this issue, I confirm the following (please check boxes, eg [X]):** - [X] I have read and understood the [contributors guide](https://github.com/WillyXJ/facileManager/blob/master/.github/CONTRIBUTING.md). - [X] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present. - [X] I have checked that the issue I'm posting isn't already reported. - [X] I have checked that the issue I'm posting isn't already solved and no duplicates exist in [closed issues](https://github.com/WillyXJ/facileManager/issues?q=is%3Aissue+is%3Aclosed) and [opened issues](https://github.com/WillyXJ/facileManager/issues) - [X] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion. --- Firstly, thank you very much for facileManager. I am using the fmDNS module, and it has truly made my life easier. I can't thank you enough. I wanted to start using the fmDHCP module as well, but it seems that fmDHCP is somewhat overshadowed by the fmDNS module. Maybe it feels that way because I haven't spent much time with fmDHCP yet. Anyway, let me get to the point without taking up too much of your time: In fmDHCP, the "authoritative" feature cannot be added as a Global Option. Shouldn't we be able to add this? In the Leases section of fmDHCP, we can select and delete the displayed IPs, but wouldn't it be nice to have an option to completely clear all leases? Lastly, let me mention this scenario: I made some settings in the global options. I added subnets, let's say 50 subnets. Then I changed some values in the global options. Despite my changes, the previous settings remain the same. The subnets I add afterward are set according to the new values. In this scenario, would it be too demanding to automate this process rather than requiring manual intervention? Actually, I have many more things on my mind, but I want to give it some time and try to understand everything thoroughly. I apologize for taking up your time.
WillyXJ commented 6 hours ago

In fmDHCP, the "authoritative" feature cannot be added as a Global Option. Shouldn't we be able to add this?

Yes, this looks to be an oversight. You can define your subnets as authoritative, but the global option should also exist.

In the Leases section of fmDHCP, we can select and delete the displayed IPs, but wouldn't it be nice to have an option to completely clear all leases?

Noted as a feature request.

I made some settings in the global options. I added subnets, let's say 50 subnets. Then I changed some values in the global options. Despite my changes, the previous settings remain the same. The subnets I add afterward are set according to the new values. In this scenario, would it be too demanding to automate this process rather than requiring manual intervention?

This does seem like a bug that I'll dig into.