mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.13' into 4.14
This commit is contained in:
commit
cd63d6812f
|
|
@ -1223,8 +1223,7 @@ NetworkMigrationResponder, AggregatedCommandExecutor, RedundantResource, DnsServ
|
|||
}
|
||||
} else if (vm.getType() == VirtualMachine.Type.User) {
|
||||
assert vm instanceof UserVmVO;
|
||||
final UserVmVO userVm = (UserVmVO) vm.getVirtualMachine();
|
||||
_userVmMgr.setupVmForPvlan(false, userVm.getHostId(), nic);
|
||||
_userVmMgr.setupVmForPvlan(false, vm.getVirtualMachine().getHostId(), nic);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
@ -1248,8 +1247,7 @@ NetworkMigrationResponder, AggregatedCommandExecutor, RedundantResource, DnsServ
|
|||
}
|
||||
} else if (vm.getType() == VirtualMachine.Type.User) {
|
||||
assert vm instanceof UserVmVO;
|
||||
final UserVmVO userVm = (UserVmVO) vm.getVirtualMachine();
|
||||
_userVmMgr.setupVmForPvlan(true, userVm.getHostId(), nic);
|
||||
_userVmMgr.setupVmForPvlan(true, vm.getVirtualMachine().getHostId(), nic);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1272,8 +1270,7 @@ NetworkMigrationResponder, AggregatedCommandExecutor, RedundantResource, DnsServ
|
|||
}
|
||||
} else if (vm.getType() == VirtualMachine.Type.User) {
|
||||
assert vm instanceof UserVmVO;
|
||||
final UserVmVO userVm = (UserVmVO) vm.getVirtualMachine();
|
||||
_userVmMgr.setupVmForPvlan(true, userVm.getHostId(), nic);
|
||||
_userVmMgr.setupVmForPvlan(true, vm.getVirtualMachine().getHostId(), nic);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue