def lookup_routes(self, pattern):
        hosts = self.lookup_hosts(pattern)
        routes = []
        for host in hosts:
            routes.append(
                {
                    'source': host,
                    'target': self.lookup(host, silent=True)
                }
            )
        return routes
Fetches routes with host that matches the given pattern. If no pattern
dataset/ETHPy150Open sourcelair/ceryx/api/ceryx/db.py/RedisRouter.lookup_routes