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:
parent
1902b24c13
commit
de3c59a675
13 changed files with 599 additions and 4 deletions
1
netbox_agent/vendors/hp.py
vendored
1
netbox_agent/vendors/hp.py
vendored
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue