From 7d7b5ecd114bff143aeb6814e27ce59fceccb98a Mon Sep 17 00:00:00 2001 From: bugclerk <40872210+bugclerk@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:49:03 -0700 Subject: [PATCH] fix r50 series nvme enclosure maps (#14652) (cherry picked from commit bedc0c10d7648a502139458e6a8a39365c57daf6) Co-authored-by: caleb --- .../middlewared/plugins/enclosure_/slot_mappings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/middlewared/middlewared/plugins/enclosure_/slot_mappings.py b/src/middlewared/middlewared/plugins/enclosure_/slot_mappings.py index 360043c239071..037a8bf064b5b 100644 --- a/src/middlewared/middlewared/plugins/enclosure_/slot_mappings.py +++ b/src/middlewared/middlewared/plugins/enclosure_/slot_mappings.py @@ -190,7 +190,7 @@ def get_nvme_slot_info(model): DISK_TOP_KEY: False, DISK_REAR_KEY: True, DISK_INTERNAL_KEY: False - } for i, j in zip(range(1, 4), range(25, 28)) + } for i, j in zip(range(1, 4), range(49, 52)) }, 'r50b_nvme_enclosure': { i: { @@ -201,7 +201,7 @@ def get_nvme_slot_info(model): DISK_TOP_KEY: False, DISK_REAR_KEY: True, DISK_INTERNAL_KEY: False - } for i, j in zip(range(1, 3), range(25, 27)) + } for i, j in zip(range(1, 3), range(49, 51)) }, 'r50bm_nvme_enclosure': { i: { @@ -212,7 +212,7 @@ def get_nvme_slot_info(model): DISK_TOP_KEY: False, DISK_REAR_KEY: True, DISK_INTERNAL_KEY: False - } for i, j in zip(range(1, 5), range(25, 29)) + } for i, j in zip(range(1, 5), range(49, 53)) }, } }