mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
Conflicts: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
This commit is contained in:
		
							parent
							
								
									a96f6b306b
								
							
						
					
					
						commit
						3ddc6da10b
					
				@ -45,6 +45,7 @@ public class BridgeVifDriver extends VifDriverBase {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private static final Object _vnetBridgeMonitor = new Object();
 | 
					    private static final Object _vnetBridgeMonitor = new Object();
 | 
				
			||||||
    private String _modifyVlanPath;
 | 
					    private String _modifyVlanPath;
 | 
				
			||||||
 | 
					    private String bridgeNameSchema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public void configure(Map<String, Object> params) throws ConfigurationException {
 | 
					    public void configure(Map<String, Object> params) throws ConfigurationException {
 | 
				
			||||||
@ -59,6 +60,8 @@ public class BridgeVifDriver extends VifDriverBase {
 | 
				
			|||||||
            networkScriptsDir = "scripts/vm/network/vnet";
 | 
					            networkScriptsDir = "scripts/vm/network/vnet";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        bridgeNameSchema = (String) params.get("network.bridge.name.schema");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        String value = (String) params.get("scripts.timeout");
 | 
					        String value = (String) params.get("scripts.timeout");
 | 
				
			||||||
        _timeout = NumbersUtil.parseInt(value, 30 * 60) * 1000;
 | 
					        _timeout = NumbersUtil.parseInt(value, 30 * 60) * 1000;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user