I'm looking into creating a new Luci diagnostics app for network performance, and would like to do so in a "standard" way i.e. clean and sustainable.
The existence of some kind of modular framework for adding to the available Luci diagnostics is suggested both by the presence of the "-core" package luci-app-diag-core
, and the following comment from the Luci admin page Network -> Configure Diagnostics
:
With this menu you can configure network diagnostics, such as network device scans and ping tests.
The diagnostics available under this menu depend on what modules you have installed on your device.
Is there such a framework for extending core diagnostics? How does one create a new diagnostic package that fits under this framework?
I haven't found an answer to this in any documentation, wiki or otherwise. But based on commit histories and previous comments, I'm hoping @cshoredaniel and @jow can comment. Thanks for your feedback!
FYI, similar questions have been asked in the past but left unanswered.