2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-02 07:26:04 +00:00

Merge pull request #283 from robertcaliman/rcaliman/add-more-m2-models

Add some more RAID models to the PRIORITY_MODELS
This commit is contained in:
Jarrod Johnson
2026-08-27 15:49:45 -04:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
@@ -13,6 +13,8 @@ PRIORITY_MODELS = ('m.2 nvme 2-bay raid kit',
'thinksystem_m.2_vd',
'thinksystem m.2',
'thinksystem_m.2',
'thinksystem 7mm',
'thinksystem_7mm',
'b540p-2hs', # 7mm or M.2 in rear
'b540d-2hs', # M.2 in E3.S or 2.5inch
'b550d-2hs', # Front M.2
@@ -20,7 +22,12 @@ PRIORITY_MODELS = ('m.2 nvme 2-bay raid kit',
'raid b540p-2hs',
'raid b540d-2hs',
'raid b550d-2hs',
'raid b550p-2hs')
'raid b550p-2hs',
'raid b540i-2i',
'raid_b540i-2i',
'raid b545i-2i',
'raid b545i-2i',
'raid_b545-2i')
class DiskInfo(object):
def __init__(self, devname, slotinfo=None):
@@ -72,6 +72,8 @@ PRIORITY_MODELS = ('m.2 nvme 2-bay raid kit',
'thinksystem_m.2_vd',
'thinksystem m.2',
'thinksystem_m.2',
'thinksystem 7mm',
'thinksystem_7mm',
'b540p-2hs', # 7mm or M.2 in rear
'b540d-2hs', # M.2 in E3.S or 2.5inch
'b550d-2hs', # Front M.2
@@ -79,7 +81,12 @@ PRIORITY_MODELS = ('m.2 nvme 2-bay raid kit',
'raid b540p-2hs',
'raid b540d-2hs',
'raid b550d-2hs',
'raid b550p-2hs')
'raid b550p-2hs',
'raid b540i-2i',
'raid_b540i-2i',
'raid b545i-2i',
'raid b545i-2i',
'raid_b545-2i')
class DiskInfo(object):
def __init__(self, devname, devinfo, storagespec=None):