def _wait_for_api_vip(self, hosts, timeout=180):
    "Enable some grace time for waiting for API's availability."
    return waiting.wait((lambda : self.get_kube_api_ip(hosts=hosts)), timeout_seconds=timeout, sleep_seconds=5, waiting_for="API's IP")
Enable some grace time for waiting for API's availability.
def _wait_for_api_vip(self, hosts, timeout=180):
    
    return waiting.wait((lambda : self.get_kube_api_ip(hosts=hosts)), timeout_seconds=timeout, sleep_seconds=5, waiting_for="API's IP")