jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaron Rosenbaum <yaron.rosenb...@gmail.com>
Subject Re: GCE locations
Date Wed, 18 Mar 2015 12:25:27 GMT
Bump

(Y)

> On Mar 15, 2015, at 2:29 PM, Yaron Rosenbaum <yaron.rosenbaum@gmail.com> wrote:
> 
> Hi
> I’ve got a bunch of Locations from GCE:
> 
>     Set<? extends Location> assignableLocations = context.getComputeService().listAssignableLocations();
> 
> When looking at a specific location from this set, it’s scope is ZONE
>    l.getScope().equals(LocationScope.ZONE)
> I would expect it’s parent to be REGION, but alas 
>    l.getParent().getScope().equals(LocationScope.PROVIDER)
>  {scope=PROVIDER, id=google-compute-engine, description=google-compute-engine}
> 
> Before I make an argument why the parent of ZONE is a REGION for all cloud providers,
is this a bug or by design?
> BTW, GCE has a term called REGION, and in this case it should be ‘US’
> 
> Thanks :)
> 
> (Y)
> 


Mime
View raw message