mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3439. [VMWARE] While preparing for migration, include dynamically created nics in case of VMware too.
This commit is contained in:
parent
82fa9184bf
commit
4b67a48144
|
|
@ -1377,7 +1377,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
|
|||
|
||||
@Override
|
||||
public void prepareNicForMigration(VirtualMachineProfile vm, DeployDestination dest) {
|
||||
if(vm.getType().equals(VirtualMachine.Type.DomainRouter) && vm.getHypervisorType().equals(HypervisorType.KVM)){
|
||||
if(vm.getType().equals(VirtualMachine.Type.DomainRouter) && (vm.getHypervisorType().equals(HypervisorType.KVM) || vm.getHypervisorType().equals(HypervisorType.VMware))) {
|
||||
//Include nics hot plugged and not stored in DB
|
||||
prepareAllNicsForMigration(vm, dest);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue