[one-users] OCCI with curl
Daniel Molina Aranda
danmolin at fdi.ucm.es
Fri Aug 6 07:06:42 PDT 2010
Hi Marwen,
If you want to create a compute using curl you can use it in the same way
you do for browsing or deleting, you only have to add the option -d and the
compute's template.
$ curl -u oneuser:sha1_pass http://localhost:4567/compute -d
"<COMPUTE><NAME>vmtest</NAME>...<INSTANCE_TYPE>small</INSTANCE_TYPE></COMPUTE>"
Regards
On 5 August 2010 11:19, marwen marwen <marwen.ensi at gmail.com> wrote:
> Hello
>
> I have configured OCCI and I have tested with occi-compute, occi-storage,
> occi-network.
> and now I want to know how to use curl to create a compute or network.
> can you help me to find the corresponding command and its parameters
> in fact I can use curl to list and delete a network or compute or storage.
>
> thank you in advance
> Best Regards
> Marwen
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100806/2c363455/attachment-0001.htm>
More information about the Users
mailing list