Skip to content

Commit f26f8cc

Browse files
server: allow adding non-overlapping ipv6 ranges in same vlan (apache#11556)
Fixes apache#11527 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Wei Zhou <weizhou@apache.org>
1 parent 4f5f7d4 commit f26f8cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5173,10 +5173,6 @@ public Vlan createVlanAndPublicIpRange(final long zoneId, final long networkId,
51735173
vlan.getVlanTag()));
51745174
}
51755175
}
5176-
if (NetUtils.isSameIsolationId(vlanId, vlan.getVlanTag()) && !vlanIp6Gateway.equals(vlan.getIp6Gateway())) {
5177-
throw new InvalidParameterValueException(String.format("The IP range with tag: %s has already been added with gateway %s. Please specify a different tag.",
5178-
vlan.getVlanTag(), vlan.getIp6Gateway()));
5179-
}
51805176
}
51815177
}
51825178

0 commit comments

Comments
 (0)