mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: Don't specify ipv6 ranges for shared network (#10746)
* assume SLAAC takes care * log info * Update server/src/main/java/com/cloud/network/NetworkServiceImpl.java --------- Co-authored-by: Wei Zhou <weizhou@apache.org>
This commit is contained in:
parent
5a5c865133
commit
422264f005
@ -1644,8 +1644,8 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService, C
|
||||
if (ipv4 && Objects.isNull(startIP)) {
|
||||
throw new CloudRuntimeException("IPv4 address range needs to be provided");
|
||||
}
|
||||
if (ipv6 && Objects.isNull(startIPv6)) {
|
||||
throw new CloudRuntimeException("IPv6 address range needs to be provided");
|
||||
if (ipv6) {
|
||||
s_logger.info(String.format("ip range for network '%s' is specified as %s - %s", name, startIPv6, endIPv6));
|
||||
}
|
||||
}
|
||||
Pair<Integer, Integer> interfaceMTUs = validateMtuConfig(publicMtu, privateMtu, zone.getId());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user