summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j2')
-rw-r--r--src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j2 b/src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j2
new file mode 100644
index 000000000..dab115833
--- /dev/null
+++ b/src/pybind/mgr/cephadm/templates/blink_device_light_cmd.j2
@@ -0,0 +1 @@
+lsmcli local-disk-{{ ident_fault }}-led-{{'on' if on else 'off'}} --path '{{ path or dev }}'