<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Jon:<div><br></div><div>I don't think this is possible.  As far as I know, in a request, all you can do is pass hints to existing filters.<br><div><br class="webkit-block-placeholder"></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Take care,</div><div><br></div><div>Lorin</div><div>--</div><div>Lorin Hochstein</div><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jul 21, 2012, at 11:48 PM, Jonathan Proulx wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi All,<br><br><a href="http://docs.openstack.org/essex/openstack-compute/admin/content/compute-options-reference.html">http://docs.openstack.org/essex/openstack-compute/admin/content/compute-options-reference.html</a><br>states that the scheduler_default_filters option in nova.conf controls<br>which filter class names to use for filtering hosts when not specified<br>in the request. How can I specify what filters to use in the request<br>(or can I)?<br><br>I've been experimenting with DifferentHostFilter and SameHostFilter<br>both of which seem very expensive if left in the default list (even if<br>not passing hints to engage either).  It would be nice if these we<br>only enabled for the few cases that want them but I don't see any<br>options to the python-novaclient to pass in a filter list.<br><br>Thanks,<br>-Jon<br><br>_______________________________________________<br>Mailing list: https://launchpad.net/~openstack<br>Post to     : openstack@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/~openstack<br>More help   : https://help.launchpad.net/ListHelp<br></div></blockquote></div><br></div></body></html>