<div style="font-family:Verdana;font-size:14px;color:#000;"><div>Oh,sorry,not this means,in my opinion,we could filter the flavor in flavor list.such as the cli:openstack flavor list --property key:value.</div><div style="font:Verdana normal 14px;color:#000;padding:8px 0px;"><div> </div><div> </div><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "Sahid Orentino Ferdjaoui"<sferdjao@redhat.com>; </div><div><b>Date:</b> 2018年7月2日(星期一) 下午3:20</div><div><b>To:</b> "OpenStack Developmen"<openstack-dev@lists.openstack.org>; </div><div><b>Subject:</b> Re: [openstack-dev] [nova] about filter the flavor</div></div><div> </div>On Mon, Jul 02, 2018 at 11:08:51AM +0800, Rambo wrote:<br>> Hi,all<br>> <br>> I have an idea.Now we can't filter the special flavor according to<br>> the property.Can we achieve it?If we achieved this,we can filter the<br>> flavor according the property's key and value to filter the<br>> flavor. What do you think of the idea?Can you tell me more about<br>> this ?Thank you very much.<br><br>Is that not the aim of AggregateTypeAffinityFilter and/or<br>AggregateInstanceExtraSpecFilter? Based on flavor or flavor properties<br>the instances can only be scheduled on a specific set of hosts.<br><br><a href="https://git.openstack.org/cgit/openstack/nova/tree/nova/scheduler/filters/type_filter.py" target="_blank">https://git.<wbr>openstack.or<wbr>g/cgit/opens<wbr>tack/nova/tr<wbr>ee/nova/sche<wbr>duler/filter<wbr>s/type_filte<wbr>r.py</a><br><a href="https://git.openstack.org/cgit/openstack/nova/tree/nova/scheduler/filters/aggregate_instance_extra_specs.py" target="_blank">https://git.<wbr>openstack.or<wbr>g/cgit/opens<wbr>tack/nova/tr<wbr>ee/nova/sche<wbr>duler/filter<wbr>s/aggregate_<wbr>instance_ext<wbr>ra_specs.py</a><br><br>Thanks,<br>s.<br><br>> <br>> Best Regards<br>> Rambo<br><br>> __________________________________________________________________________<br>> OpenStack Development Mailing List (not for usage questions)<br>> Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-de<wbr>v-request@li<wbr>sts.openstac<wbr>k.org</a>?subject:unsubscribe<br>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists<wbr>.openstack.o<wbr>rg/cgi-bin/m<wbr>ailman/listi<wbr>nfo/openstac<wbr>k-dev</a><br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-de<wbr>v-request@li<wbr>sts.openstac<wbr>k.org</a>?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists<wbr>.openstack.o<wbr>rg/cgi-bin/m<wbr>ailman/listi<wbr>nfo/openstac<wbr>k-dev</a><br>  <!--<![endif]--><style></style></div></div>