intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
73 stars 47 forks source link

Ledctl: add command to retrieve best controller #189

Open mtkaczyk opened 10 months ago

mtkaczyk commented 10 months ago

To avoid implementing same logic in tests, ledctl should present that to user. It is possible with library:

enum led_cntrl_type led_is_management_supported(struct led_ctx *ctx, const char *path)

We should add this to ledctl. Then we can determine if slot should be tested in slot_test.py