Req 2.1 - Leases list
As an administrator I want to browse a list of leases sorted by default from most recent to oldest, with sorting by any fields in the lease. (perhaps we can limit the fields to sort on once we see what fields are available, in order to make the sorting faster with indices)
I am often going to be looking for information on a particular device or lease, so I want to search based on MAC address or IP address (omnibox search).
-
I would like to see current leases as well as historical information in the same display, if possible. So, for example, if I enter a Mac address, I would want to see the current lease, and prior lease(s). -
This will be a long, multi-page list so it would be convenient if I could filter based on some column contents (such as a partial MAC or IP address) -
It is not necessary that this be updated in real time. A list of leases that is current as of say, 5 - 15 minutes ago is adequate. It is more important that the lookup is responsive. -
It is not necessary that the screen is refreshed automatically while this panel is active on the display, it is ok to require that I push a button to 'refresh' the list. I would prefer that there is some data in the panel when I click on it, rather than having it blank and have to wait for it to populate. -
This should not require querying all the dhcp servers - it should come from a central lease db in Stork. I am thinking it is updated by notification from the dhcp servers, after some initialization process where it gets all the current leases.
Details
-
If we can also do a reverse DNS lookup on the IP address (this can be a process triggered by the admin, it doesn't have to happen magically) to popular a hostname field, that would be good too.
-
The Lease list must also include which server owns the lease.
-
I may need to save a lot of lease history. It should be possible for me to configure how many hours or days of history I want to preserve, and at some point we should have some kind of log rotation.
-
Total active leases per server -
Total active leases per service (if there is more than 1 server in the service) -
# of New leases in the past (configurable period, start with 15 minutes) -
Leases per second (could be a toggle to display this or the # of new leases in the past period). both metrics could be based on just the most recent period. -
Historic register of each MAC address seen by the system, with leases assigned, dates, times. This may be exactly the same as the forensic log, so it is fine if we just link to the default location for the forensic log. -
Ability to browse current lease list. This does not have to be real time, and can/probably should be read-only. This should work for Memfile. -
Ability to browse current lease list. This does not have to be real time, and can/probably should be read-only. This should work for lease backend.