Saksham Srivastava created CLOUDSTACK-1786:
----------------------------------------------

             Summary: While reserving IPs in guest network, if guestvmcidr is a 
subset of network cidr but not a subset of cidr, exception is thrown.
                 Key: CLOUDSTACK-1786
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1786
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.2.0
            Reporter: Saksham Srivastava
            Assignee: Saksham Srivastava
             Fix For: 4.2.0


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 message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to