mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	VPC: fixed list public ips by vpcId
This commit is contained in:
		
							parent
							
								
									fcdf6f2bec
								
							
						
					
					
						commit
						09bd4e1725
					
				@ -1742,7 +1742,7 @@ public class ManagementServerImpl implements ManagementServer {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // don't show SSVM/CPVM ips
 | 
			
		||||
        if (vlanType == VlanType.VirtualNetwork && (allocatedOnly)) {
 | 
			
		||||
        if (vlanType == VlanType.VirtualNetwork && (allocatedOnly) && vpcId == null) {
 | 
			
		||||
            sb.and("associatedNetworkId", sb.entity().getAssociatedWithNetworkId(), SearchCriteria.Op.NNULL);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user