DHCP: static leases configuration
We currently already display (provide) current leases. It would be good to allow user to configure static leases or/and to turn existing leases to static ones (that is probably frontend work).
For backend we need API to configure static leases. In UCI configuration it is as easy as adding section to /etc/config/dhcp
such as:
config host
option mac 'xx:xx:xx:xx:xx:xx'
option name 'foo'
option dns '1'
option ip '192.168.1.50'
Of course this requires verification (probably) that given IP is is in LAN network (router but does not have to be assigned) and is not broadcast or router address.