chore: fetch more data as custom_fields for hp inventory
This commit is contained in:
parent
cedb6818a3
commit
49b269efa6
1 changed files with 6 additions and 1 deletions
|
@ -172,7 +172,12 @@ class HPRaidController(RaidController):
|
|||
'Type': 'SSD' if attrs.get('Interface Type') == 'Solid State SATA'
|
||||
else 'HDD',
|
||||
'_src': self.__class__.__name__,
|
||||
'custom_fields': {'pd_identifier': name}
|
||||
'custom_fields': {
|
||||
'pd_identifier': name,
|
||||
'mount_point': attrs['Mount Points'],
|
||||
'vd_device': attrs['Disk Name'],
|
||||
'vd_size': attrs['Size'],
|
||||
}
|
||||
}
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Reference in a new issue