Hi Iustin,

> +  if not re.match("[-a-zA-Z0-9.]+$", args[1]):
> > >
> >
> > Here you could use ganeti.netutils.Hostname._VALID_NAME_RE, that also
> checks
> > for the length of the hostname.
>
> Except that this isn't in the ganeti codebase… :)
>

Erh... right... well, he can kinda *use* it by copy and paste, right? :)

Thanks,
Andrea

Reply via email to