Skip to content

Commit fd0eb6c

Browse files
Likitha Shettyyadvr
authored andcommitted
CLOUDSTACK-3439. [VMWARE] While preparing for migration, include dynamically created nics in case of VMware too.
(cherry picked from commit 4b67a48) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 1e87f3b commit fd0eb6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ public NicProfile prepareNic(VirtualMachineProfile vmProfile, DeployDestination
13771377

13781378
@Override
13791379
public void prepareNicForMigration(VirtualMachineProfile vm, DeployDestination dest) {
1380-
if(vm.getType().equals(VirtualMachine.Type.DomainRouter) && vm.getHypervisorType().equals(HypervisorType.KVM)){
1380+
if(vm.getType().equals(VirtualMachine.Type.DomainRouter) && (vm.getHypervisorType().equals(HypervisorType.KVM) || vm.getHypervisorType().equals(HypervisorType.VMware))) {
13811381
//Include nics hot plugged and not stored in DB
13821382
prepareAllNicsForMigration(vm, dest);
13831383
return;

0 commit comments

Comments
 (0)