Skip to content

Commit 87c4350

Browse files
Gabriel Beims BräscherPaul Angus
Gabriel Beims Bräscher
authored and
Paul Angus
committed
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).
1 parent 653bee3 commit 87c4350

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server/src/main/java/com/cloud/network/NetworkModelImpl.java

-3
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,6 @@ public boolean canUseForDeploy(Network network) {
594594
if (!hasFreeIps) {
595595
return false;
596596
}
597-
if (network.getIp6Gateway() != null) {
598-
hasFreeIps = areThereIPv6AddressAvailableInNetwork(network.getId());
599-
}
600597
} else {
601598
if (network.getCidr() == null) {
602599
s_logger.debug("Network - " + network.getId() + " has NULL CIDR.");

0 commit comments

Comments
 (0)