<div dir="ltr"><div><div>yeah, i have read through those, plus i did some reading through the actual code of all kilo/stable cinder filters<br><br></div>i any case i think i have a good path forward, just need to start testing to understand this a bit more.<br></div><br>thanks for taking the time to assist.<br> <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 9:13 AM, Vahric Muhtaryan <span dir="ltr"><<a href="mailto:vahric@doruk.net.tr" target="_blank">vahric@doruk.net.tr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>I found this </div><div><br></div><div><a href="http://docs.openstack.org/admin-guide-cloud/blockstorage-driver-filter-weighing.html" target="_blank">http://docs.openstack.org/admin-guide-cloud/blockstorage-driver-filter-weighing.html</a></div><div><br></div><div>And this </div><div><br></div><div><a href="https://blueprints.launchpad.net/cinder/+spec/filtering-weighing-with-driver-supplied-functions" target="_blank">https://blueprints.launchpad.net/cinder/+spec/filtering-weighing-with-driver-supplied-functions</a></div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span> Brent Troge <<a href="mailto:brenttroge2016@gmail.com" target="_blank">brenttroge2016@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Thursday 25 February 2016 at 16:17<br><span style="font-weight:bold">To: </span> "<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> [Openstack] Cinder Multiple Backends - Filter On Tenant<br></div><div><div class="h5"><div><br></div><div dir="ltr"><div><div>I need the cinder filter to support directing volumes to a specific backend based on tenant id and volume size.<br></div></div><div><br></div><div>Something like:<br><br></div><div># tenant specific backend<br></div><div>[backend-1]<br></div><div>filter = (volume_size > 100G) && (tenant_id == abc123)<br><br> # all others<br><div>[backend-2]<br></div>filter = (volume_size < 100G)<br><br><br></div><div><br></div><div>Is this possible with the current set of kilo stable cinder filters ? <br></div><div><br></div><div>Thanks in advance.<br></div><div><br> <br></div></div></div></div>
_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</span></div>
</blockquote></div><br></div>