wip - inventory

This commit is contained in:
Solvik Blum 2019-08-06 14:52:57 +02:00
parent 1902b24c13
commit 823ecc6bf9
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47
9 changed files with 439 additions and 1 deletions

View file

@ -6,6 +6,7 @@ class HPHost(ServerBase):
super(HPHost, self).__init__(*args, **kwargs)
if self.is_blade():
self.hp_rack_locator = self._find_rack_locator()
self.manufacturer = 'HP'
def is_blade(self):
return self.get_product_name().startswith('ProLiant BL')