Fix Bug that prevents adding multiple public IP ranges on the same subnet#3185
Fix Bug that prevents adding multiple public IP ranges on the same subnet#3185kioie wants to merge 2 commits intoapache:masterfrom
Conversation
|
@kioie may you please resolve the merge conflicts |
dhlaluku
left a comment
There was a problem hiding this comment.
Overall nice cleanup. Please revert the order of imports to follow this style;
import javax.*
import java.*
import org.*
import com.*
import all other imports
Signed-off-by: kioie <kioieddy@google.com>
f9c7fb3 to
95c3806
Compare
|
@blueorangutan package |
|
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2611 |
|
@blueorangutan test |
|
@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3407)
|
yadvr
left a comment
There was a problem hiding this comment.
Needs testing for both +tive/-tive cases. cc @borisstoyanov
|
@kioie If you are still working on this, please resolve conflicts |
|
Issue seems to be resolved on #3430 |
Description
Referencing this issue: #3114
Edited the code to check for an ipOverlap in the IP ranges and not subnet overlap.
Signed-off-by: @kioie kioieddy@google.com
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
STEPS TO TEST
create vlaniprange zoneId="06e5e428-1170-4ab3-bfc3-c018660bdca1" vlan=untagged gateway=192.168.2.1 netmask=255.255.255.0 startip=192.168.2.2 endip=192.168.2.200 forsystemvms=false forVirtualNetwork=truecreate vlaniprange zoneId="06e5e428-1170-4ab3-bfc3-c018660bdca1" vlan=untagged gateway=192.168.2.1 netmask=255.255.255.0 startip=192.168.2.201 endip=192.168.2.220 forsystemvms=false forVirtualNetwork=trueEXPECTED RESULTS
2nd range added without issueACTUAL RESULTS
2nd range added without issue