mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-2045:[Multiple IPs Per Nic] This feature is not working well
in case of networks with external devices after GC adding missing 'retrun false' for isNetworkReadyForGc for the networks that use external network devices and has secondary IP's associated with nics.
This commit is contained in:
parent
da9552b7f3
commit
a8a23c4364
@ -2143,6 +2143,7 @@ public class NetworkModelImpl extends ManagerBase implements NetworkModel {
|
||||
// network rules. So prevent network GC.
|
||||
if (secondaryIps != null && !secondaryIps.isEmpty() &&
|
||||
networkIsConfiguredForExternalNetworking(network.getDataCenterId(), networkId)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user