> +
> + 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();
> +
> + /*
> + * This will fail if the A or AAAA record for the database instance
> has not propagated yet.
> + * */
Fix.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/6/files#r4753176