docs: def _generic_format(self, raid_config, controller=None):
          """Convert redfish data of current raid config to generic format.
  
          :param raid_config: Raid configuration dictionary
          :param controller: Array controller model in post_create read else
                             None
          :returns: current raid config.
          """
          logical_drives = raid_config["LogicalDrives"]
          logical_disks = []
          controller = controller
          for ld in logical_drives:
              prop = {'size_gb': ld['CapacityGiB'],
                      'raid_level': ld['Raid'].strip('Raid'),
                      'root_device_hint': {
                          'wwn': '0x' + ld['VolumeUniqueIdentifier']},
                      'controller': controller,
                      'physical_disks': ld['DataDrives'],
                      'volume_name': ld['LogicalDriveName']}
              logical_disks.append(prop)
          return logical_disks