mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6194: Failed to increase Shared network IP Range
Submitted-by:Saksham Srivastava <saksham.srivastava@citrix.com>
This commit is contained in:
parent
eb61f8146d
commit
135247afd1
|
|
@ -2666,7 +2666,7 @@ ConfigurationManagerImpl extends ManagerBase implements ConfigurationManager, Co
|
|||
List<VlanVO> vlans = _vlanDao.listVlansByNetworkId(network.getId());
|
||||
if (vlans != null && vlans.size() > 0) {
|
||||
VlanVO vlan = vlans.get(0);
|
||||
if (vlanId == null) {
|
||||
if (vlanId == null || vlanId.contains(Vlan.UNTAGGED)) {
|
||||
vlanId = vlan.getVlanTag();
|
||||
} else if (!NetUtils.isSameIsolationId(vlan.getVlanTag(), vlanId)) {
|
||||
throw new InvalidParameterValueException("there is already one vlan " + vlan.getVlanTag()
|
||||
|
|
|
|||
Loading…
Reference in New Issue