cloud-init network interface alias

Hi, I found a few strange things around the cloud-init network setup. On the network interface field the validation form looks like this: "A-Za-z0-9_-", while the api validation almost the same except you can use the "." (dot) character also. So if I like to define a network interface alias, like "eth0:1" I can't, however the cloud-init application handle it well. Is there any reason why the ":" character need to be forbidden? Regards, enax

----- Original Message -----
From: "Dobó László" <laszlo.dobo@ezit.hu> To: devel@ovirt.org Sent: Monday, July 27, 2015 1:14:29 PM Subject: [ovirt-devel] cloud-init network interface alias
Hi,
I found a few strange things around the cloud-init network setup. On the network interface field the validation form looks like this: "A-Za-z0-9_-", while the api validation almost the same except you can use the "." (dot) character also. So if I like to define a network interface alias, like "eth0:1" I can't, however the cloud-init application handle it well. Is there any reason why the ":" character need to be forbidden?
Regards, enax
please open a bug to allow also ":" and describe your use case. Thanks!
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (2)
-
Dobó László
-
Omer Frenkel