docs: def _change_iscsi_target_settings(self, iscsi_info):
          """Change iSCSI target settings.
  
          :param iscsi_info: A dictionary that contains information of iSCSI
                             target like target_name, lun, ip_address, port etc.
          :raises: IloError, on an error from iLO.
          """
          sushy_system = self._get_sushy_system(PROLIANT_SYSTEM_ID)
          try:
              pci_settings_map = (
                  sushy_system.bios_settings.bios_mappings.pci_settings_mappings)
              nics = []
              for mapping in pci_settings_map:
                  for subinstance in mapping['Subinstances']:
                      for association in subinstance['Associations']:
                          if 'NicBoot' in association:
                              nics.append(association)
          except sushy.exceptions.SushyError as e:
              msg = (self._('The Redfish controller failed to get the '
                            'bios mappings. Error %(error)s')
                     % {'error': str(e)})
              LOG.debug(msg)
              raise exception.IloError(msg)
  
          if not nics:
              msg = ('No nics were found on the system')
              raise exception.IloError(msg)
  
          # Set iSCSI info to all nics
          iscsi_infos = []
          for nic in nics:
              data = iscsi_info.copy()
              data['iSCSIAttemptName'] = nic
              data['iSCSINicSource'] = nic
              data['iSCSIAttemptInstance'] = nics.index(nic) + 1
              iscsi_infos.append(data)
  
          iscsi_data = {'iSCSISources': iscsi_infos}
          try:
              (sushy_system.bios_settings.iscsi_resource.
               iscsi_settings.update_iscsi_settings(iscsi_data))
          except sushy.exceptions.SushyError as e:
              msg = (self._("The Redfish controller is failed to update iSCSI "
                            "settings. Error %(error)s") %
                     {'error': str(e)})
              LOG.debug(msg)
              raise exception.IloError(msg)