Package org.jclouds.rackspace.cloudloadbalancers.v1.features

Examples of org.jclouds.rackspace.cloudloadbalancers.v1.features.NodeApi.list()


  
   private Set<Node> getNodes(LoadBalancer loadBalancer) {
      NodeApi nodeApi = clb.getNodeApiForZoneAndLoadBalancer(Constants.ZONE, loadBalancer.getId());
      Set<Node> nodes = Sets.newHashSet();
     
      for (Node node: nodeApi.list().concat()) {
         if (node.getCondition().equals(Node.Condition.DISABLED)) {
            nodes.add(node);
         }
      }
     
View Full Code Here


  
   private Set<Node> getNodes(LoadBalancer loadBalancer) {
      NodeApi nodeApi = clb.getNodeApiForZoneAndLoadBalancer(Constants.ZONE, loadBalancer.getId());
      Set<Node> nodes = Sets.newHashSet();
     
      for (Node node: nodeApi.list().concat()) {
         if (node.getAddress().startsWith("10.180.1")) {
            nodes.add(node);
         }
      }
     
View Full Code Here

        
         return new Function<Object, IterableWithMarker<Node>>() {

            @Override
            public IterableWithMarker<Node> apply(Object input) {
               IterableWithMarker<Node> list = nodeApi.list(marker(input.toString()));
               return list;
            }

            @Override
            public String toString() {
View Full Code Here

   private Set<Node> getNodes(LoadBalancer loadBalancer) {
      NodeApi nodeApi = clbApi.getNodeApiForZoneAndLoadBalancer(ZONE, loadBalancer.getId());
      Set<Node> nodes = Sets.newHashSet();

      for (Node node: nodeApi.list().concat()) {
         if (node.getCondition().equals(DISABLED)) {
            nodes.add(node);
         }
      }
View Full Code Here

   private Set<Node> getNodes(LoadBalancer loadBalancer) {
      NodeApi nodeApi = clbApi.getNodeApiForZoneAndLoadBalancer(ZONE, loadBalancer.getId());
      Set<Node> nodes = Sets.newHashSet();

      for (Node node: nodeApi.list().concat()) {
         if (node.getAddress().startsWith("10.180.1")) {
            nodes.add(node);
         }
      }
View Full Code Here

         return new Function<Object, IterableWithMarker<Node>>() {

            @Override
            public IterableWithMarker<Node> apply(Object input) {
               PaginationOptions paginationOptions = PaginationOptions.class.cast(input);
               return nodeApi.list(paginationOptions);
            }

            @Override
            public String toString() {
               return "list()";
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.