On Mon, Dec 22, 2008 at 02:37:43PM -0500, Michael DeHaan wrote: > I think we can be more explicit WRT the "if protocol is not supplied" > based on only supporting what koan can support today: > > The valid forms are: > > nfs://hostspec:/path_not_ending_in_slash > hostspec can be either "u...@host" or "host".
It can also be user:passw...@host to include authentication details[1], though probably not a good idea to put it into the clear like that. > the literal "nfs://" is required for this format. I'll add a check for that as well. If auth details are provided then a hostname and a protocol must be provided. > /absolute_path_not_ending_in_slash Well, for an image record, there needs to be a filename provide, right? Therefore, a missing filename would be an exception. Or do you mean something else? > I'm not sure what the port details were? Where would a port be supplied? If the hostname is followed by a : then a port is *supposed* to be provided or else the : should be excluded/ignored[2]. [1] http://labs.apache.org/webarch/uri/rfc/rfc3986.html#userinfo [2] http://labs.apache.org/webarch/uri/rfc/rfc3986.html#port -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Virtual Machine Management - http://www.ovirt.org/ "What do you care what other people think, Mr. Feynman?"
pgp8nedlYMEC1.pgp
Description: PGP signature
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
