Local inventory (#16)

- Create and update CPU
- Create and update Memory
- Create and update RAID Cards (HP and Storcli)
- Create and update Physical disks
This commit is contained in:
Solvik 2019-08-26 16:54:48 +02:00 committed by GitHub
parent 1902b24c13
commit de3c59a675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 599 additions and 4 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')