incubator-libcloud mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell <>
Subject Re: [libcloud] Rackspace & Linode drivers insert different node 'id' types in list_images() return value
Date Thu, 24 Jun 2010 23:35:47 GMT
I noticed the same thing. Most drivers seem to return IDs as strings (a lot
IDs are not even numeric), but a few are ints. I believe the one I noticed
was that GoGrid returns sizes with int IDs.

I would be inclined to say that all IDs should be strings.


On Thu, Jun 24, 2010 at 4:19 PM, <>wrote:

> Hi,
>        I'm working on getting default image/sizes for Rackspace and Linode.
>        I'm using the list_images() call to each driver.
>        Turns out that the type of the 'id' field is different (<str> for
> rackspace, <int> for linode).
>        Is this intentional, or a bug?
>        Seems pretty bug-like to me...but I'm not which is the "correct"
> type, nor have I tested this out on other providers.
> Thanks,
> S

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message