accessRules.put(accessRule4.getAddress(), accessRule4);
}
public void testCreateLoadBalancer() {
AddNode addNode = AddNode.builder().address("192.168.1.1").port(8080).build();
CreateLoadBalancer createLB = CreateLoadBalancer.builder()
.name(prefix + "-jclouds").protocol("HTTP").port(80).virtualIPType(Type.PUBLIC).node(addNode).build();
region = "ORD"; //Iterables.getFirst(api.getConfiguredRegions(), null);
lb = api.getLoadBalancerApi(region).create(createLB);