2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-10-20 06:35:33 +00:00

Add some more RAID models to the PRIORITY_MODELS

This commit is contained in:
Robert Caliman
2026-08-27 22:39:56 +03:00
parent 0c89f041e1
commit 9c51577652
2 changed files with 32 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,20 @@ 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',
'raid 930-16i-4gb',
'raid_930-16i-4gb',
'raid 930-24i-4gb',
'raid_930-24i-4gb',
'raid 940-16i 4gb',
'raid_940-16i_4gb',
'raid 940-16i 8gb',
'raid_940-16i_8gb')
class DiskInfo(object):
def __init__(self, devname):
@@ -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,20 @@ 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',
'raid 930-16i-4gb',
'raid_930-16i-4gb',
'raid 930-24i-4gb',
'raid_930-24i-4gb',
'raid 940-16i 4gb',
'raid_940-16i_4gb',
'raid 940-16i 8gb',
'raid_940-16i_8gb')
class DiskInfo(object):
def __init__(self, devname, devinfo, storagespec=None):