docs: def delete_router(self, context, router_id, router):
          """Deletes a router from Arista Switch."""
  
          if router:
              router_name = self._arista_router_name(router_id, router['name'])
              mlag_peer_failed = False
              for s in self._servers:
                  try:
                      self.delete_router_from_eos(router_name, s)
                      mlag_peer_failed = False
                  except Exception:
                      if self._mlag_configured and not mlag_peer_failed:
                          # In paied switch, it is OK to fail on one switch
                          mlag_peer_failed = True
                      else:
                          msg = (_('Failed to create router %s on EOS') %
                                 router_name)
                          LOG.exception(msg)
                          raise arista_exc.AristaServicePluginRpcError(msg=msg)