[one-users] accessing VDC using Cloud APIs

Prakhar Srivastava prakhar.apj at gmail.com
Wed Sep 21 22:59:56 PDT 2011


Hi,
Thanks for the response. I tried to use the REST service with data formatted
in JSON using HttpBuilder. I would like to know the authentication method
for using the service. When I tried to use the auth.basic method for setting
up userid and password, it return 404 Unauthorized error. But I can see that
the OzonesClient.rb is using the auth.basic to set the credentials.
Any idea if I am doing anything wrong?
My objective is to create VDC using the REST services.

Thanks,
Prakhar


On Sun, Sep 18, 2011 at 3:36 AM, Ruben S. Montero <rubensm at dacya.ucm.es>wrote:

> Hi,
>
> Actually, oZones/VDC is implemented as a REST service with data formatted
> in JSON so it should be pretty easy to interact with the module though
> anything that talks HTTP.
>
> We plan to provide a wrapper API for the service with bindings in JAVA and
> Ruby [1]. In the meantime, you may want to take a look to the ruby client
> and web app to develop apps for the OpenNebula Zones and VDCs service [2]
> (Developer information for the REST API is also to be written...)
>
> Cheers
>
> Ruben
>
> [1] http://dev.opennebula.org/issues/789
> [2] Client File at src/ozones/Client/lib/OZonesClient.rb
>      REST Service implemented at src/ozones/Server/ozones-server.rb
>
>
> On Thu, Sep 15, 2011 at 3:30 PM, Prakhar Srivastava <prakhar.apj at gmail.com
> > wrote:
>
>> Hi,
>> I was checking the Opennebula 2.9.80 and really liked the VDC feature. I
>> wanted to know if it is possible to create VDC using Cloud APIs. I checked
>> the Opennebula Java API, it seems they doesn't have support for it.
>>
>> Is there any other way one can create VDC except onevdc command ??
>>
>> Prakhar
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Dr. Ruben Santiago Montero
> Associate Professor (Profesor Titular), Complutense University of Madrid
>
> URL: http://dsa-research.org/doku.php?id=people:ruben
> Weblog: http://blog.dsa-research.org/?author=7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110922/6e074f07/attachment-0003.htm>


More information about the Users mailing list