Skip to content

Commit

Permalink
add ES60G3 support (#14478)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Sep 10, 2024
1 parent 1700def commit 57fb0c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def _get_model_and_controller(self):
case 'HGST_H4060-J':
self.model = JbodModels.ES60G2.value
self.controller = False
case 'WDC_UData60':
self.model = JbodModels.ES60G3.value
self.controller = False
case 'HGST_H4102-J':
self.model = JbodModels.ES102.value
self.controller = False
Expand Down Expand Up @@ -609,6 +612,7 @@ def is_60_bay_jbod(self):
self.model in (
JbodModels.ES60.value,
JbodModels.ES60G2.value,
JbodModels.ES60G3.value,
)
))

Expand Down
1 change: 1 addition & 0 deletions src/middlewared/middlewared/plugins/enclosure_/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class JbodModels(Enum):
ES24F = 'ES24F'
ES60 = 'ES60'
ES60G2 = 'ES60G2'
ES60G3 = 'ES60G3'
ES102 = 'ES102'
ES102G2 = 'ES102G2'

Expand Down
1 change: 1 addition & 0 deletions src/middlewared/middlewared/utils/license.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
10: "ES102G2",
11: "ES60G2",
12: "ES24N",
13: "ES60G3",
}

0 comments on commit 57fb0c7

Please sign in to comment.