NeutronLoadBalancer nsg = i.next(); if ((queryLoadBalancerID == null || queryLoadBalancerID.equals(nsg.getLoadBalancerID())) && (queryLoadBalancerTenantID == null || queryLoadBalancerTenantID.equals(nsg.getLoadBalancerTenantID())) &&
public NeutronLoadBalancer extractFields(List<String> fields) { NeutronLoadBalancer ans = new NeutronLoadBalancer(); Iterator<String> i = fields.iterator(); while (i.hasNext()) { String s = i.next(); if (s.equals("id")) { ans.setLoadBalancerID(this.getLoadBalancerID()); } if (s.equals("tenant_id")) { ans.setLoadBalancerTenantID(this.getLoadBalancerTenantID()); } if (s.equals("name")) { ans.setLoadBalancerName(this.getLoadBalancerName()); } if(s.equals("description")) { ans.setLoadBalancerDescription(this.getLoadBalancerDescription()); } if (s.equals("vip_address")) { ans.setLoadBalancerVipAddress(this.getLoadBalancerVipAddress()); } if (s.equals("vip_subnet_id")) { ans.setLoadBalancerVipSubnetID(this.getLoadBalancerVipSubnetID()); } if (s.equals("status")) { ans.setLoadBalancerStatus(this.getLoadBalancerStatus()); } } return ans; }
if (loadBalancerInterface.neutronLoadBalancerExists(singleton.getLoadBalancerID())) { throw new BadRequestException("LoadBalancer UUID already exists"); if (loadBalancerInterface.neutronLoadBalancerExists(test.getLoadBalancerID())) { throw new BadRequestException("Load Balancer Pool UUID already is already created"); if (testMap.containsKey(test.getLoadBalancerID())) { throw new BadRequestException("Load Balancer Pool UUID already exists");
if (delta.getLoadBalancerID() != null || delta.getLoadBalancerTenantID() != null || delta.getLoadBalancerName() != null ||