You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Avanti Ajay <av...@gmail.com> on 2014/03/08 08:05:00 UTC

Classes for connecting to openstack

Hi..

Can you please tell me which classes to use for starting a vm /stopping a
vm / getting vm info etc in jclouds? I am using openstack.

Avanti

Re: Classes for connecting to openstack

Posted by Ignasi Barrera <na...@apache.org>.
Hi Avanti,

If you want that code to be portable across different clouds (e.g. make it
work on Amazon, CloudSigma, etc), you can use the methods in the
ComputeService interface.

If you want to use more specific OpenStack features, then you can use the
Nova ServerApi.

The OpenStack guide [1] shows how to get the ComputeService and how to use
the OpenStack specific apis.

HTH!

Ignasi

[1] http://jclouds.apache.org/guides/openstack/
El 08/03/2014 19:12, "Inbar Stolberg" <in...@gmail.com> escribió:

> ServerApi and ServerAsyncApi
>
> On Saturday, March 8, 2014, Avanti Ajay <av...@gmail.com> wrote:
>
>> Hi..
>>
>> Can you please tell me which classes to use for starting a vm /stopping a
>> vm / getting vm info etc in jclouds? I am using openstack.
>>
>> Avanti
>>
>

Re: Classes for connecting to openstack

Posted by Inbar Stolberg <in...@gmail.com>.
ServerApi and ServerAsyncApi

On Saturday, March 8, 2014, Avanti Ajay <av...@gmail.com> wrote:

> Hi..
>
> Can you please tell me which classes to use for starting a vm /stopping a
> vm / getting vm info etc in jclouds? I am using openstack.
>
> Avanti
>