> + */
> + private void createLoadBalancer(Set<AddNode> addNodes) throws
> TimeoutException {
> + System.out.println("Create Cloud Load Balancer");
> +
> + CreateLoadBalancer createLB = CreateLoadBalancer.builder()
> + .name(Constants.NAME)
> + .protocol("MYSQL")
> + .port(3306)
> + .algorithm(LoadBalancer.Algorithm.RANDOM)
> + .nodes(addNodes)
> + .virtualIPType(VirtualIP.Type.PUBLIC)
> + .build();
> +
> +
> + // Retry - If the DNS record has not propagated this will fail to
> resolve on the cloud load balancer service-side
> + // Note that this will fail if the service cannot resolve the hostname
> of the database instance
It sounds a bit to me like you're saying the same thing twice here. Is that
right?
Can this be clarified a bit?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/6/files#r5281203