CLOUDSTACK-2650 setting vm ip null in user_ip_address when static nat ip

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
Jayapal 2013-05-24 11:52:25 +05:30 committed by Abhinandan Prateek
parent c1ad3b7974
commit c8d607eae5

View File

@ -155,6 +155,7 @@ public class IPAddressDaoImpl extends GenericDaoBase<IPAddressVO, Long> implemen
address.setAssociatedWithNetworkId(null);
address.setVpcId(null);
address.setSystem(false);
address.setVmIp(null);
update(ipAddressId, address);
}