cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] DaanHoogland commented on a change in pull request #3077: ipv6: Calculate IPv6 address instead of fetching one from a pool
Date Mon, 07 Jan 2019 13:01:13 GMT
DaanHoogland commented on a change in pull request #3077: ipv6: Calculate IPv6 address instead
of fetching one from a pool
URL: https://github.com/apache/cloudstack/pull/3077#discussion_r245644484
 
 

 ##########
 File path: engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
 ##########
 @@ -2257,8 +2257,8 @@ public Network createGuestNetwork(final long networkOfferingId, final
String nam
             }
         }
 
-        if (ipv6 && !NetUtils.isValidIp6Cidr(ip6Cidr)) {
-            throw new InvalidParameterValueException("Invalid IPv6 cidr specified");
+        if (ipv6 && NetUtils.getIp6CidrSize(ip6Cidr) != 64) {
 
 Review comment:
   64 is fixed so let's 'constant' it (or do we need to discuss configurability?)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message