This implements the `_update_memory()` method in redfish_dell.py
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
pass
def _update_memory(self) -> None:
+ fields = ['Description',
+ 'MemoryDeviceType',
+ 'CapacityMiB',
+ 'Status']
log.logger.info("Updating memory")
- pass
+ self._system['memory'] = self.build_data(fields, 'Memory')
def _update_power(self) -> None:
log.logger.info("Updating power")
'storage': self.get_storage(),
'processors': self.get_processors(),
'network': self.get_network(),
+ 'memory': self.get_memory(),
}
return result