mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-6194: Failed to increase Shared network IP Range
Submitted-by:Saksham Srivastava <saksham.srivastava@citrix.com>
This commit is contained in:
		
							parent
							
								
									f291951990
								
							
						
					
					
						commit
						b8413b9413
					
				@ -2555,7 +2555,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
 | 
			
		||||
                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() + " on network :" + +network.getId()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user