[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15992868#comment-15992868
 ] 

Gerolamo Valcamonica commented on CLOUDSTACK-9036:
--------------------------------------------------

There is a bug in 
ui/scripts/sharedFunctions.js

patch, at line 2321, is:
$.validator.addMethod("ipv6cidr", function(value, element) {
[...]
< if (Number(parts[1]) < 0 || Number(parts[1] > 32))
> if (Number(parts[1]) < 0 || Number(parts[1] > 128))
[...]

> IPV6 CIDR not recognized (Parser BUG)
> -------------------------------------
>
>                 Key: CLOUDSTACK-9036
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9036
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.6.0
>         Environment: XEN Server 6.5 SP1 (Hosts)
> Cloudstack 4.6 (SNAPSHOT)
> Management Server (Ubuntu 14.04 Trusty)
>            Reporter: Franz Skale
>
> When creating a new Guest Network with IPV6 enabled VLAN, the IPV6 CIDR will 
> not be recognized.
> There seems to be a ipv6 CIDR parser error:
> Example:
> IPV6 GW: fde4:101:a01::1
> IPV6 CIDR: fde4:101:a01:0:0:0:0:0/64 (Error: The specified IPv6 CIDR is 
> invalid)
> IPV6 Start: fde4:101:a01::100
> IPV6 End: fde4:101:a01::1aa
> If i try to use the IPV6 CIDR fde4:101:a01:0:0:0:0:0/6 (without the 4 at then 
> for a 64 bit cidr) the selection will be accepted but of course after save 
> the error occurs, that the cidr is wrong.
> Best regds.
> Franz



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to