mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-10007 no isolationmethod check for directpodbase basic zone nets (#2296)
This commit is contained in:
		
							parent
							
								
									a379230e8e
								
							
						
					
					
						commit
						3985c68bc5
					
				| @ -85,8 +85,8 @@ public class DirectPodBasedNetworkGuru extends DirectNetworkGuru { | |||||||
| 
 | 
 | ||||||
|     @Override |     @Override | ||||||
|     protected boolean canHandle(NetworkOffering offering, DataCenter dc, PhysicalNetwork physnet) { |     protected boolean canHandle(NetworkOffering offering, DataCenter dc, PhysicalNetwork physnet) { | ||||||
|         // this guru handles system Direct pod based network |         // this guru handles system Direct pod based network in Basic zones only (no isolation type specified) | ||||||
|         if (dc.getNetworkType() == NetworkType.Basic && isMyTrafficType(offering.getTrafficType()) && isMyIsolationMethod(physnet)) { |         if (dc.getNetworkType() == NetworkType.Basic && isMyTrafficType(offering.getTrafficType())) { | ||||||
|             return true; |             return true; | ||||||
|         } else { |         } else { | ||||||
|             s_logger.trace("We only take care of Guest Direct Pod based networks"); |             s_logger.trace("We only take care of Guest Direct Pod based networks"); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user