disk inventory fix and hp improvement #259
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'
|
'Type': 'SSD' if attrs.get('Interface Type') == 'Solid State SATA'
|
||||||
else 'HDD',
|
else 'HDD',
|
||||||
'_src': self.__class__.__name__,
|
'_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
|
return ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue