diff options
author | Sage Weil <sage@redhat.com> | 2019-12-15 17:36:51 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2019-12-20 14:07:04 +0100 |
commit | 4815cc8a73e45328e36b0968f7336b51d6432aeb (patch) | |
tree | 717d9510cbb0f73919cb7013ade910a4bf2706aa /src/pybind/mgr/orchestrator.py | |
parent | mgr: report device by-path paths too (diff) | |
download | ceph-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.py | 2 |
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. |