-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10084/
-----------------------------------------------------------

Review request for cloudstack, Murali Reddy and Sateesh Chodapuneedi.


Description
-------

The following scenario:

networkcidr: 10.1.1.0/24

cidr: 10.1.1.224/27

Applying reservation with guestvmcidr: 10.1.1.0/26 results in exception:
Invalid value of Guest VM CIDR. For IP Reservation, Guest VM CIDR should be a 
subset of network CIDR: 10.1.1.224/27

Expected behavior:
Reservation should happen and new cidr should be 10.1.1.0/26


This addresses bug CLOUDSTACK-1786.


Diffs
-----

  server/src/com/cloud/network/NetworkServiceImpl.java 8303b0b 

Diff: https://reviews.apache.org/r/10084/diff/


Testing
-------

Manually tested the scenario, reservation occurs and cidr becomes 10.1.1.0/26


Thanks,

Saksham Srivastava

Reply via email to