I am developing my own client in Java. Do you know if such a (reference) client already exists?<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 6:57 PM, Daniel Molina <span dir="ltr"><<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">What client are you using? Are you developing your own client?<br>
<br>
You can check the OCCIClient code (post_image method) to get an idea.<br>
<div><div></div><div class="h5"><br>
On 26 April 2011 18:44, Florin Antonescu <<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>> wrote:<br>
> Can you please suggest me a way to send the file? Also, the file parameter<br>
> should contain the path to the actual image ot the content of the image?<br>
> Is there any documentation that I could consult regarding registering images<br>
> using the OCCI client? Also an example would be very useful.<br>
> Best regards<br>
> On Tue, Apr 26, 2011 at 4:39 PM, Daniel Molina <<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> The server waits for a file (request.params['file']) and the xml<br>
>> (request.params['occixml']). In your case is that the file is missing<br>
>> in the request.<br>
>><br>
>> Regards<br>
>><br>
>> On 17 April 2011 21:34, Florin Antonescu <<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>><br>
>> wrote:<br>
>> > Hello,<br>
>> > I have encountered a strange situation while trying to create a storage<br>
>> > image using OCCI interface from a Java client (Opennebula 2.2 on Ubuntu<br>
>> > 10.10). The XML representation that I was trying to send is<br>
>> > <STORAGE><br>
>> > <NAME>test-ttylinux</NAME><br>
>> > <DESCRIPTION>Minimalist Linux distribution</DESCRIPTION><br>
>> > <TYPE>OS</TYPE><br>
>> > <URL>file:///srv/cloud/one/one-templates/ttylinux.img</URL><br>
>> > </STORAGE><br>
>> > and the response received from OCCI server is: "Image path not present,<br>
>> > aborting." However, if I try to create the same storage image using<br>
>> > occi-image, everything works OK. Is there a constraint for the URL? What<br>
>> > is<br>
>> > the proper way of creating OS images using OCCI interface?<br>
>> > Thank you,<br>
>> > Florian<br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Daniel Molina, Cloud Technology Engineer/Researcher<br>
>> Major Contributor<br>
>> OpenNebula - The Open Source Toolkit for Cloud Computing<br>
>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Daniel Molina, Cloud Technology Engineer/Researcher<br>
Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a><br>
</div></div></blockquote></div><br>