----- Original Message ----- > From: "Alon Bar-Lev" <alo...@redhat.com> > To: "Itamar Heim" <ih...@redhat.com> > Cc: "devel" <devel@ovirt.org>, "Lucas Vandroux" <lucas.vandr...@eayun.com>, > "李建盛" <jiansheng...@eayun.com>, "潘礼洋" > <liyang....@eayun.com>, "Michal Skrivanek" <mskri...@redhat.com> > Sent: Sunday, December 14, 2014 11:47:26 PM > Subject: Re: [ovirt-devel] UI Plugin to Upload ISO Files > > > > ----- Original Message ----- > > From: "Itamar Heim" <ih...@redhat.com> > > To: "Lucas Vandroux" <lucas.vandr...@eayun.com>, "devel" <devel@ovirt.org>, > > "潘礼洋" <liyang....@eayun.com>, "李建盛" > > <jiansheng...@eayun.com> > > Cc: "Michal Skrivanek" <mskri...@redhat.com>, "Scott Herold" > > <sher...@redhat.com>, "Allon Mureinik" > > <amure...@redhat.com>, "Federico Simoncelli" <fsimo...@redhat.com>, "Barak > > Azulay" <bazu...@redhat.com>, "Brian > > Proffitt" <bprof...@redhat.com>, "Alon Bar-Lev" <alo...@redhat.com> > > Sent: Sunday, December 14, 2014 11:35:40 PM > > Subject: Re: [ovirt-devel] UI Plugin to Upload ISO Files > > > > On 12/12/2014 05:15 AM, Lucas Vandroux wrote: > > > Dear all, > > > > > > I'm actually working to create a custom user interface plugin for oVirt > > > web administration application to let user upload iso files. > > > > > > I'm in the very first stage of the project. I'm planning to use > > > angularjs with the ng-flow module <https://github.com/flowjs/ng-flow> on > > > the client-side and a java servlet using the ovirt-iso-uploader > > > <http://www.ovirt.org/OVirt_engine_tools#ovirt-iso-uploader> engine tool > > > on the server-side. > > > > > > All my code is going to be on Github in the following repository : > > > iso-uploader-plugin > > > <https://github.com/ovirt-china/iso-uploader-plugin>. You can also check > > > a more detailed version of the specifications on my wiki > > > <https://github.com/ovirt-china/iso-uploader-plugin/wiki/Specifications>. > > > > > > I'm writing to you guys to know if there is a way for us to collaborate > > > as you may also want to develop something like this to be integrated in > > > the oVirt Engine. > > > > > > Best regards, > > > > > > - Lucas Vandroux (冯凯) > > > > > > > > > > looks very nice. > > > > This is actually very interesting (and requested by multiple folks) but > > i'd like to see if we should focus on the more simple "upload iso's" or > > it doing more than just upload ISO's, but also VMs. > > for the latter, architecture would probably be a servlet[1] on the > > engine and stream to vdsm to write to storage, so both vm disks and/or > > iso's could be uploaded/downloaded. > > using ssh and/or nfs to send artifacts to hosts is something we should avoid > so using iso/image uploader tools are not a solution. > vdsm should support uploading images using its own protocol based on the > authentication between engine and vdsm, is it already?
Vdsm does support upload over http/https directly to storage. This feature is used to store ovf backups on storage domains, and probably not very efficient, but may be good enough for now. See vdsm/rpc/BindingXMLRPC.py (do_PUT) > this should be a core feature not an add-on within the current monolithic > implementation, as there is no access to vdsm interaction from any of the > interfaces. Nir _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel