BigInteger eIP = NeutronSubnet_IPAllocationPool.convert_V6(poolEnd); if (gIP.compareTo(sIP) == 0 && gIP.compareTo(eIP) < 0) { NeutronSubnet_IPAllocationPool p = new NeutronSubnet_IPAllocationPool(); p.setPoolStart(NeutronSubnet_IPAllocationPool.bigIntegerToIP(sIP.add(BigInteger.ONE))); p.setPoolEnd(poolEnd); NeutronSubnet_IPAllocationPool p = new NeutronSubnet_IPAllocationPool(); p.setPoolStart(poolStart); p.setPoolEnd(NeutronSubnet_IPAllocationPool.bigIntegerToIP(eIP.subtract(BigInteger.ONE))); NeutronSubnet_IPAllocationPool p = new NeutronSubnet_IPAllocationPool(); p.setPoolStart(poolStart); p.setPoolEnd(NeutronSubnet_IPAllocationPool.bigIntegerToIP(gIP.subtract(BigInteger.ONE))); ans.add(p); NeutronSubnet_IPAllocationPool p2 = new NeutronSubnet_IPAllocationPool(); p2.setPoolStart(NeutronSubnet_IPAllocationPool.bigIntegerToIP(gIP.add(BigInteger.ONE))); p2.setPoolEnd(poolEnd);
new NeutronSubnet_IPAllocationPool(info.getLowAddress(), info.getHighAddress()); allocationPools = source.splitPool(gatewayIP); new NeutronSubnet_IPAllocationPool(lowAddress, highAddress); allocationPools = source.splitPool_V6(gatewayIP);
allocationPools.add(new NeutronSubnet_IPAllocationPool(ipAddress,ipAddress)); allocationPools.remove(lPool); allocationPools.remove(hPool); allocationPools.add(new NeutronSubnet_IPAllocationPool( lPool.getPoolStart(), hPool.getPoolEnd()));
long eIP = NeutronSubnet_IPAllocationPool.convert(poolEnd); long i; NeutronSubnet_IPAllocationPool p = new NeutronSubnet_IPAllocationPool(); boolean poolStarted = false; for (i=sIP; i<=eIP; i++) { poolStarted = false; ans.add(p); p = new NeutronSubnet_IPAllocationPool();