Fixed issue in setting vm ip,mac in vm_instance table

This issue is not seen in 4.2, It is observed only in 4.3.
This commit is contained in:
Jayapal 2013-12-26 16:36:16 +05:30
parent ab4f095c68
commit 16763be77f

View File

@ -3081,6 +3081,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
if (network.getTrafficType() == TrafficType.Guest || network.getTrafficType() == TrafficType.Public) {
userVm.setPrivateIpAddress(nic.getIp4Address());
userVm.setPrivateMacAddress(nic.getMacAddress());
_vmDao.update(userVm.getId(), userVm);
}
}