summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/orchestrator.py
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2019-12-15 17:36:51 +0100
committerSage Weil <sage@redhat.com>2019-12-20 14:07:04 +0100
commit4815cc8a73e45328e36b0968f7336b51d6432aeb (patch)
tree717d9510cbb0f73919cb7013ade910a4bf2706aa /src/pybind/mgr/orchestrator.py
parentmgr: report device by-path paths too (diff)
downloadceph-4815cc8a73e45328e36b0968f7336b51d6432aeb.tar.xz
ceph-4815cc8a73e45328e36b0968f7336b51d6432aeb.zip
mgr/orchestrator: use full device path for blinking lights (if available)
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/pybind/mgr/orchestrator.py')
-rw-r--r--src/pybind/mgr/orchestrator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py
index 27d3b8f3d35..4d4b672d0c6 100644
--- a/src/pybind/mgr/orchestrator.py
+++ b/src/pybind/mgr/orchestrator.py
@@ -1398,7 +1398,7 @@ class InventoryNode(object):
return self.name == other.name and self.devices == other.devices
-class DeviceLightLoc(namedtuple('DeviceLightLoc', ['host', 'dev'])):
+class DeviceLightLoc(namedtuple('DeviceLightLoc', ['host', 'dev', 'path'])):
"""
Describes a specific device on a specific host. Used for enabling or disabling LEDs
on devices.