mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Table "user_ipv6_address" (UserIpv6AddressVO) is empty and seems that it (#3571)
is not used; probably it is a legacy code/table. Therefore, remove the verification that counts the IPs from UserIpv6AddressVO in order to check if it can use the network for deploying new VMs in UI [1]. [1] com.cloud.network.NetworkModelImpl.canUseForDeploy(Network).
This commit is contained in:
parent
653bee3ddf
commit
87c4350160
@ -594,9 +594,6 @@ public class NetworkModelImpl extends ManagerBase implements NetworkModel, Confi
|
||||
if (!hasFreeIps) {
|
||||
return false;
|
||||
}
|
||||
if (network.getIp6Gateway() != null) {
|
||||
hasFreeIps = areThereIPv6AddressAvailableInNetwork(network.getId());
|
||||
}
|
||||
} else {
|
||||
if (network.getCidr() == null) {
|
||||
s_logger.debug("Network - " + network.getId() + " has NULL CIDR.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user