[openstack-dev] How to choose proper availablity-zone in Havana version with the same usage realized by JsonFilter in Folsom version?

hzguanqiang at corp.netease.com hzguanqiang at corp.netease.com
Mon Nov 11 01:25:40 UTC 2013


Hi Sam,
Thanks for your reply. I know there is an AvailabilityZoneFilter, but it can only choose a certain az.
What I want is a more flexible usage just as JsonFilter Which you can choose to build or not build on
some azs. 

On 2013-11-09 14:24 , Sam Morrison wrote:
On 7 Nov 2013, at 5:10 pm, hzguanqiang at corp.netease.com wrote:

> Hi guys,
>  
> In Folsom version, availability-zone info is stored in compute_nodes db table, and so can be parsed by JsonFilter.
> I can use JsonFilter to choose which(or except which) availability-zones to build my instance.
>  
> But in Havana version, availability-zone info is stored in aggregatemetadata, and so JsonFilter seems can not filter
> the proper availatiliby-zones as the way in Folsom version.
>  
> So Is there any other existed resolution in H version that can satisfy my demand?

You can use the AvailabilityZoneFilter for this.

Cheers,
Sam


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


------------------     
Best regards!
GuanQiang
09:22:27
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131111/816acf08/attachment.html>


More information about the OpenStack-dev mailing list