docs: def create_raid_configuration(irmc_info, target_raid_config):
      """Process raid_input then perform raid configuration into server.
  
      :param irmc_info: node info
      :param target_raid_config: node raid information
      """
  
      if len(target_raid_config['logical_disks']) < 1:
          raise ELCMValueError(message="logical_disks must not be empty")
  
      # Check RAID config in the new RAID adapter. Must be erased before
      # create new RAID config.
      raid_adapter = get_raid_adapter(irmc_info)
      logical_drives = raid_adapter['Server']['HWConfigurationIrmc'][
          'Adapters']['RAIDAdapter'][0].get('LogicalDrives')
      session_timeout = irmc_info.get('irmc_raid_session_timeout',
                                      RAID_CONFIG_SESSION_TIMEOUT)
      if logical_drives is not None:
          # Delete exist logical drives in server.
          # NOTE(trungnv): Wait session complete and raise error if
          # delete raid config during FGI(Foreground Initialization) in-progress
          # in previous mechanism.
          delete_raid_configuration(irmc_info)
          # Updating raid adapter profile after deleted profile.
          raid_adapter = get_raid_adapter(irmc_info)
  
      # Create raid configuration based on target_raid_config of node
      raid_input = _update_raid_input_data(target_raid_config, raid_adapter)
      session = elcm_profile_set(irmc_info, raid_input)
      # Monitoring raid creation session until done.
      _process_session_data(irmc_info, 'CONFIG_RAID',
                            session['Session']['Id'],
                            session_timeout)