mirror of https://github.com/apache/cloudstack.git
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:
parent
8de3b4f461
commit
feeffeaf10
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue