File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -154,14 +154,30 @@ func VendorFromString(s string) string {
154
154
}
155
155
156
156
// Return a normalized product name given a product name
157
+ //
158
+ // nolint:gocyclo // This list is expected to be long.
157
159
func FormatProductName (s string ) string {
158
160
switch s {
159
161
case "PowerEdge R6515" :
160
162
return "r6515"
161
163
case "PowerEdge R640" :
162
164
return "r640"
165
+ case "PowerEdge R6415" :
166
+ return "r6415"
167
+ case "PowerEdge R750" :
168
+ return "r750"
163
169
case "PowerEdge C6320" :
164
170
return "c6320"
171
+ case "SYS-5019C-MR-PH004" , "SYS-5019C-MR" :
172
+ return "x11scm-f"
173
+ case "SYS-5039MS-H12TRF" :
174
+ return "x11sse-f"
175
+ case "SYS-510T-MR-EI018" , "SYS-510T-MR1-EI018" :
176
+ return "x12sth-sys"
177
+ case "SSG-6029P-E1CR12L-PH004" :
178
+ return "x11dph-t"
179
+ case "SSG-110P-NTR10" , "SSG-110P-NTR10-EI018" :
180
+ return "x12spo-ntf"
165
181
default :
166
182
return s
167
183
}
You can’t perform that action at this time.
0 commit comments