cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2651) [Shared n/w]Extending the guest network IP range should not mandate the parameters netmask,gateway and zoneid
Date Tue, 28 May 2013 21:44:21 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668711#comment-13668711
] 

Alena Prokharchyk commented on CLOUDSTACK-2651:
-----------------------------------------------

There are several flaws in multiple ip ranges with diff subnet feature.

1) To fix this bug, when no gateway/netmask is passed to the call, get this information from
the Network object.
2) If netmask/gateway is specified for the network, we should never let the user add a vlan
from the subnet different from the network subnet. I created network with cidr 172.22.0.0/16
and was able to add an ip range with 172.23.0.0/16 to it - wrong kind of behavior. When Admin
lists this network, he sees the CIDR information. And he would assume that this network will
never go beyond this CIDR.

In other words, if we allow multiple subnets for the same network, the network itself should
never be set with the CIDR info.
                
> [Shared n/w]Extending the guest network IP range should not mandate the parameters netmask,gateway
and zoneid
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2651
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2651
>             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: manasaveloori
>            Assignee: Bharat Kumar
>             Fix For: 4.2.0
>
>         Attachments: guestnetwork.jpg
>
>
> Steps:
> 1. Have an CS setup with advanced zone.
> 2. Create a shared network(zone->physical network->Guest->Add guest network).
> 3. Try to entend the ip range for the created guest network.(zone->physical network->Guest->
<created guest network> ->view ip ranges->add ip range)
> Observation:The API passed for extending the ip range is  
>  API passed:http://10.147.38.154:8080/client/api?command=createVlanIpRange&forVirtualNetwork=false&networkid=2bc91f46-8f4a-4a31-b95d-ecea71663e67&startip=10.147.54.238&endip=10.147.54.239&response=json&sessionkey=ax2q1vd%2Bp4BsOPgw%2BKQ78JKMVx0%3D&_=1369311736447"
> Response is 
> { "createvlaniprangeresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"Gateway,
netmask and zoneId have to be passed in for virtual and direct untagged networks"} }
> Expected behaviour:
> Extending ip range for  the already existing network should not ask for parameters like
gateway,netmask and zoneid.
> Attached the screen shot for reference.

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

Mime
View raw message