peteeckel / netbox-plugin-dns

NetBox DNS is a NetBox plugin for managing DNS data.
https://pypi.org/project/netbox-plugin-dns
MIT License
204 stars 16 forks source link

Detect misconfigured plugin config lists at start time #464

Closed peteeckel closed 3 weeks ago

peteeckel commented 3 weeks ago

fixes #463

In case of some plugin configuration settings that expect lists, a misconfiguration is only detected at runtime, yielding a "500 Internal Server Error" type exception.

This PR adds basic validation at start time, making NetBox startup fail if there is a misconfigured setting that would lead to such an error.