docs: def update_firmware(self, file_url, component_type):
          """Updates the given firmware on the server for the given component.
  
          :param file_url: location of the raw firmware file. Extraction of the
                           firmware file (if in compact format) is expected to
                           happen prior to this invocation.
          :param component_type: Type of component to be applied to.
          :raises: IloError, on an error from iLO.
          """
          try:
              update_service_inst = self._sushy.get_update_service()
              update_service_inst.flash_firmware(self, file_url)
          except sushy.exceptions.SushyError as e:
              msg = (self._('The Redfish controller failed to update firmware '
                            'with firmware %(file)s Error %(error)s') %
                     {'file': file_url, 'error': str(e)})
              LOG.debug(msg)
              raise exception.IloError(msg)