class XenHypervisor implements HypervisorHost {

    protected void changePoolMasterHost(Connection conn, String hostUuid) throws BadServerResponse, XenAPIException, XmlRpcException {
        for (Host host : Host.getAll(conn)) {
            if (hostUuid.equals(host.getUuid(conn))) {
                continue;
            }
            if (hostUtils.isHostReachable(host.getAddress(conn))) {
                Pool.designateNewMaster(conn, host);
                return;
            }
        }
    }

}