def METHOD_NAME(self, routes):
    uniRoutes = []
    for route in routes:
        ip, prefix = route.split("/")
        addr = utils.ip_to_binary(ip)
        ipRoute = IpPrefix(ip=addr, prefixLength=prefix)
        uniRoutes.append(UnicastRoute(dest=ipRoute, nextHopAddrs=self.nexthops))
    self.client.addUnicastRoutes(self.client_id, uniRoutes)