cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9639) Unable to create shared network with vLan isolation
Date Fri, 02 Dec 2016 04:12:58 GMT


ASF GitHub Bot commented on CLOUDSTACK-9639:

Github user nitin-maharana commented on a diff in the pull request:
    --- Diff: server/src/com/cloud/configuration/ ---
    @@ -3092,8 +3092,12 @@ public Vlan createVlanAndPublicIpRange(final long zoneId, final
long networkId,
                 final String guestNetworkCidr = zone.getGuestNetworkCidr();
                 if (guestNetworkCidr != null) {
                     if (NetUtils.isNetworksOverlap(newCidr, guestNetworkCidr)) {
    -                    throw new InvalidParameterValueException("The new IP range you have
specified has  overlapped with the guest network in zone: " + zone.getName()
    -                            + ". Please specify a different gateway/netmask.");
    +                    // when adding shared network with same cidr of zone guest cidr,
    +                    // if the specified vlan is not present in zone, physical network,
allow to create the network as the isolation is based on VLAN.
    +                    if (_zoneDao.findVnet(zoneId, physicalNetworkId, vlanId).size() >
0) {
    --- End diff --
    @jburwell : Thanks for your suggestion. I will consider this change. The effect would
be same if we put all the conditions with && operator.

> Unable to create shared network with vLan isolation
> ---------------------------------------------------
>                 Key: CLOUDSTACK-9639
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitin Kumar Maharana
> Create shared network fails with error While creating a shared network it fails to create
with Error "The new IP range you have specified has overlapped with the guest network in the
zone: XYZ. Please specify a different gateway/netmask"
> Steps to Reproduce:
> ===============
> Create an isolated network with a subnet eg:
> Create a shared network with the same subnet but different VLAN, we should observe this
> ===================
> It shouldn't restrict the creation of guest network's with same subnet as long as they
are segmented by VLAN.
> ================
> It doesn't allow the creation of shared guest networks if there is any isolated guest
network using the same subnet although it allows using the same subnet in multiple shared

This message was sent by Atlassian JIRA

View raw message