You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by Felipe Cardoso Martins <fe...@gmail.com> on 2011/04/05 00:15:50 UTC

How I can get all available devices for one instance?

I note one problem with image list of deltacloud api [1], doesn't have
the platform information of image... any idea?

Thanks,

Felipe Cardoso Martins

 [1] http://incubator.apache.org/deltacloud/api.html#h4_3

Re: How I can get all available devices for one instance?

Posted by Felipe Cardoso Martins <fe...@gmail.com>.
Michal,

On Tue, Apr 5, 2011 at 4:54 AM, Michal Fojtik <mf...@redhat.com> wrote:
> You mean like Windows or Linux? This is a huge problem on backend API
> side. In EC2 you don't have this sort of information here.

thanks for your answer...  i'll implement a regex in description name.

[]'s

Re: How I can get all available devices for one instance?

Posted by Michal Fojtik <mf...@redhat.com>.
On Apr 5, 2011, at 12:15 AM, Felipe Cardoso Martins wrote:

Hi,

> I note one problem with image list of deltacloud api [1], doesn't have
> the platform information of image... any idea?

You mean like Windows or Linux? This is a huge problem on backend API
side. In EC2 you don't have this sort of information here.

One possible way could be to parse <hypervisor> tag and return 'windows'
when it's set to hyper-v.

But for other providers, like Rackspace or GoGrid there is no way how to
return this information except parsing description/name fields and looking
for 'windows' string.

  -- Michal

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org