You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Bharat Kumar (JIRA)" <ji...@apache.org> on 2013/06/12 17:50:21 UTC

[jira] [Resolved] (CLOUDSTACK-2511) Multiple_Ip_Ranges: Adding guest ip range in subset/superset to existing CIDR is allowed

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bharat Kumar resolved CLOUDSTACK-2511.
--------------------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=ca13586331d215b0be269fea010536106d7fa67c
                
> Multiple_Ip_Ranges: Adding guest ip range in subset/superset to existing CIDR is allowed
> ----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2511
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2511
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Build from master branch:CloudStack-non-OSS-MASTER-340-rhel6.3.tar.gz
>            Reporter: Sanjeev N
>            Assignee: Bharat Kumar
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Adding guest ip range in subset/superset to existing CIDR is allowed, but as per the FS adding guest ip range subset or super set to existing subnet should fail.
> Repro steps:
> ===========
> 1.Bring up CS in basic zone with xenserver 6.1
> 2.Add ip range as follows:
> gw:10.147.40.1
> Netmask: 255.255.255.0
> IP Range: 10.147.40.2-10.147.40.10
> 3.Try to add another guest IP range super set to exiting subnet 
> eg: gw 10.147.40.1, Netmask 255.255.254.0
> IP Range: 10.147.40.20-10.147.40.30
> 4.Try to add another guest IP range subset to existing subnet
> eg: gw 10.147.40.1, Netmask 255.255.255.128
> IP Range 10.147.40.40-10.147.40.50
> Expected Behaviour:
> ================
> Though the new ip range added at step3 falls under existing subnet, adding it should fails since its subnet is superset to existing subnet.
> Similarly new ip range at step4 falls under existing subnet, but adding it should fail since its subnet is subset to existing subnet.
> Actual Behaviour:
> ===============
> Adding ip range in subset/super set to existing subnet is not failing.
> Observations:
> ===========
> If the new ip range is subset/superset to exiting subnet and does not fall under the exiting subnet then only CS does not allow adding that ip range.

--
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