gt; > >
> > >
> > > Yes, you can add a new validator that can validator that the provided
> > address is either ipv4 or ipv6, here:
> > >
> > > https://github.com/apache/cloudstack/blob/master/ui/
> > scripts/sharedFunctions.js#L2327
> >
ipv4 or ipv6, here:
> >
> > https://github.com/apache/cloudstack/blob/master/ui/
> scripts/sharedFunctions.js#L2327
> >
> >
> > Give the validator any appropriate name, and use it in the network.js
> code replacing the currently defined validator with yours.
&
>
>
> From: Wido den Hollander
> Sent: 21 October 2016 17:33:29
> To: dev@cloudstack.apache.org
> Subject: Question about JavaScript validators in UI
>
> Hi,
>
> While working on the IPv6 for Basic Networking I'm at the stag
currently defined validator with yours.
Regards.
From: Wido den Hollander
Sent: 21 October 2016 17:33:29
To: dev@cloudstack.apache.org
Subject: Question about JavaScript validators in UI
Hi,
While working on the IPv6 for Basic Networking I'm at the stage o
Hi,
While working on the IPv6 for Basic Networking I'm at the stage of the Security
Groups.
When entering a CIDR in the UI which is not IPv4 (eg ::/0) it will show: 'The
specified IPv4 CIDR is invalid.'
That's true, so looking in network.js I see this piece of code:
'cidr': {
edit: true,