def serve_client(client): config = Zookeeper().dist_config port = config.port('zookeeper') rest_port = config.port('zookeeper-rest') # TODO: add zookeeper REST client.send_port(port, rest_port)