CLOUDSTACK-3463: [Portable IP] [EIP/ELB Zone] EIP semantics are not

intact with portable IP

fix ensures that, on release of portable IP associated with 'EIP
enabled' basic zone vm, a new system public IP is allocated and
associated with the VM
This commit is contained in:
Murali Reddy 2013-07-15 09:50:41 +05:30
parent 8de3b4f461
commit feeffeaf10
1 changed files with 0 additions and 3 deletions

View File

@ -903,9 +903,6 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
boolean success = _networkMgr.disassociatePublicIpAddress(ipAddressId, userId, caller);
if (success) {
if (ipVO.isPortable()) {
return success;
}
Long networkId = ipVO.getAssociatedWithNetworkId();
if (networkId != null) {
Network guestNetwork = getNetwork(networkId);