code: def get_rtr_by_name(self, rtr_name):
          
          upd_rtr_list = []
          try:
              rtr_list = self.neutronclient.list_routers()
              for rtr in rtr_list.get('routers'):
                  if rtr_name == rtr['name']:
                      upd_rtr_list.append(rtr)
          except Exception as exc:
              LOG.error("Failed to get router by name %(name)s, "
                        "Exc %(exc)s",
                        {'name': rtr_name, 'exc': str(exc)})
          return upd_rtr_list
docs: Search a router by its name.