Add "ProLiant BL460c Gen10 Graphics Exp"

This commit is contained in:
Cyril Levis 2020-08-25 11:36:15 +02:00
parent fc930b9ef4
commit c1a847a177
No known key found for this signature in database
GPG key ID: 8538D68543979A20
2 changed files with 2 additions and 1 deletions

View file

@ -202,6 +202,7 @@ Tested on:
* HP ProLiant BL460c Gen8
* HP ProLiant BL460c Gen9
* HP ProLiant BL460c Gen10
* HP ProLiant BL460c Gen10 Graphics Exp
* HP Moonshot 1500 Enclosure (your `DeviceType` should have slots batch create with `Bay c[1-45n1]`) with HP ProLiant m750, m710x, m510 Server Cartridge
### Pizzas

View file

@ -27,7 +27,7 @@ class HPHost(ServerBase):
# FIXME: make a dmidecode function get_by_dminame() ?
if self.is_blade():
locator = dmidecode.get_by_type(self.dmi, 204)
if self.product == "ProLiant BL460c Gen10":
if self.product.startswith("ProLiant BL460c Gen10"):
locator = locator[0]["Strings"]
return {
"Enclosure Model": locator[2].strip(),