lint
This commit is contained in:
parent
b738f4bfef
commit
86527af1c0
6 changed files with 23 additions and 13 deletions
3
netbox_agent/vendors/hp.py
vendored
3
netbox_agent/vendors/hp.py
vendored
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue