code: def send_event(self, name, ev, state=None):
          
  
          if name in SERVICE_BRICKS:
              if isinstance(ev, EventRequestBase):
                  ev.src = self.name
              LOG.debug("EVENT %s->%s %s",
                        self.name, name, ev.__class__.__name__)
              SERVICE_BRICKS[name]._send_event(ev, state)
          else:
              LOG.debug("EVENT LOST %s->%s %s",
                        self.name, name, ev.__class__.__name__)
docs: Send the specified event to the RyuApp instance specified by name.