This commit is contained in:
Solvik Blum 2021-05-18 13:59:04 +02:00
commit 86527af1c0
6 changed files with 23 additions and 13 deletions

View file

@ -12,7 +12,8 @@ class HPHost(ServerBase):
def is_blade(self):
blade = self.product.startswith("ProLiant BL")
blade |= self.product.startswith("ProLiant m") and self.product.endswith("Server Cartridge")
blade |= self.product.startswith("ProLiant m") and \
self.product.endswith("Server Cartridge")
return blade
def _find_rack_locator(self):