From: Ryan Moats Date: Wed, 19 Mar 2014 16:23:07 +0000 (-0500) Subject: Fix for Bug #533 X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~326 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=45552a60c3b4fdf613571cdf1d5cb0677a498a14 Fix for Bug #533 Ensure start of Allocation Pool is set properly in all cases Change-Id: Ie51dd0e019588b2769663b950527b8558db3624d Signed-off-by: Ryan Moats --- diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet_IPAllocationPool.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet_IPAllocationPool.java index dab69917d1..75da310b2b 100644 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet_IPAllocationPool.java +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet_IPAllocationPool.java @@ -152,6 +152,9 @@ public class NeutronSubnet_IPAllocationPool implements Serializable { if (i != gIP) { p.setPoolStart(poolStart); poolStarted = true; + } else { + //FIX for bug 533 + p.setPoolStart(NeutronSubnet_IPAllocationPool.longtoIP(i+1)); } } if (i == eIP) {