[stork-users] lease Search

Carsten Strotmann carsten at strotmann.de
Mon Jan 13 07:27:39 UTC 2025


Hello Ralf,

I need some more time (1-2 weeks) to prepare the source code of my changes.

The compiled version can be found at
https://kea.dane.onl/stork-list-leases-2.0.0.tgz

The tar file contains content of the

usr/share/stork/www

directory.

To install, stop the Stork server, replace the files in the "www" directory of your Stork installation with the new files, and start Stork again.

I don't recommend testing on a production system. As always, make sure to have a good backup of the files to be replaced. This patch is against Stork 2.0.0, it might not work with newer versions.

Greetings

Carsten Strotmann


On 12 Jan 2025, at 13:47, Ralf Figge wrote:

> Hello Slawek,
> some points i have found.
> test, if the search text is ok : lease-search-page.component.ts (i have change/add)
> I think, this is for test-util: lease-search-page.component.spec.ts
> Help text : lease-search-page.component.html (i have change/add)
>
> But in which file is the call itself /where are the search parameter set?
>
> regards
> Ralf
>
> Am 31.12.2024 um 18:10 schrieb Slawek Figiel:
>> Hello Ralf!
>>
>> It is a bit complex question. ;)
>>
>> The lease search works this way: the Stork server looks for a lease in all registered Kea DHCP daemons one by one by calling their lease_cmd hook commands.
>>
>> It means that the search itself is performed on the Kea side, and if you want to extend the search capabilities, you need to contribute to Kea first.
>>
>> Answering your original question, the lease search is written in:
>>
>> - C++ - Kea core and Kea lease hook
>> - Golang - Stork backend
>> - HTML/SASS/TypeScript (Angular+PrimeNG) - Stork UI
>>
>> Happy New Year!
>> Regards,
>> Slawek Figiel
>>
>> In day 24.12.2024 17:33, Ralf Figge wrote:
>>> Hello,
>>>
>>> First of all, Merry Christmas to everyone. In which language is the lease search written ? I will add some new searches. In which files must i look and must change functions ? regards Ralf
>>>
>>>
>>
>
> -- 
> Stork-users mailing list
> Stork-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/stork-users


More information about the Stork-users mailing list