<br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 7:45 AM, Stephen Gran <span dir="ltr"><<a href="mailto:stephen.gran@guardian.co.uk" target="_blank">stephen.gran@guardian.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<div class="im"><br>
On Thu, 2013-01-31 at 14:30 -0800, Vishvananda Ishaya wrote:<br>
> On Jan 31, 2013, at 12:17 PM, Stephen Gran <<a href="mailto:stephen.gran@guardian.co.uk">stephen.gran@guardian.co.uk</a>> wrote:<br>
> ><br>
</div><div class="im">> > 2) Create a new tags table containing references to the resource type<br>
> > and ID.  This has the advantage that we won't need to make lots of API<br>
> > calls to return all the resources with a given tag, but also feels<br>
> > possibly over-denormalized (is that a word?).<br>
><br>
> This would be the fastest way to implement the feature, but I suspect we will end up<br>
> with some pretty nasty querys to do filters by tags in this model.<br>
<br>
</div>The proof of concept patch for doing it this way is at<br>
<a href="https://review.openstack.org/#/c/20412/" target="_blank">https://review.openstack.org/#/c/20412/</a> .   The queries aren't amazing,<br>
but they're not that awful either.  It currently hardcodes 'instance',<br>
but that's just a lookup table to fix.<br>
<br>
This doesn't mean I disagree about the right way to do it - if you think<br>
tags will serve a purpose in glance/quantum/etc beyond EC2 API<br>
compatibility, then that's the right way to do it.  I'm just saying that<br>
if it's not useful in it's own right, getting a cheap and cheerful EC2<br>
API compatibility fix a different way doesn't introduce huge amounts of<br>
awfulness.<br></blockquote><div><br></div><div>I agree with Vish about <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">leaning towards 1, because I think tags will be useful for the OpenStack API as well.</span></div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
--<br>
Stephen Gran<br>
Senior Systems Integrator - <a href="http://guardian.co.uk" target="_blank">guardian.co.uk</a><br>
<br>
Please consider the environment before printing this email.<br>
------------------------------------------------------------------<br>
Visit <a href="http://guardian.co.uk" target="_blank">guardian.co.uk</a> - website of the year<br>
<br>
<a href="http://www.guardian.co.uk" target="_blank">www.guardian.co.uk</a>    <a href="http://www.observer.co.uk" target="_blank">www.observer.co.uk</a>     <a href="http://www.guardiannews.com" target="_blank">www.guardiannews.com</a><br>


<br>
On your mobile, visit <a href="http://m.guardian.co.uk" target="_blank">m.guardian.co.uk</a> or download the Guardian<br>
iPhone app <a href="http://www.guardian.co.uk/iphone" target="_blank">www.guardian.co.uk/iphone</a> and iPad edition <a href="http://www.guardian.co.uk/iPad" target="_blank">www.guardian.co.uk/iPad</a><br>
<br>
Save up to 37% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.<br>
Visit <a href="http://guardian.co.uk/subscribe" target="_blank">guardian.co.uk/subscribe</a><br>
<br>
---------------------------------------------------------------------<br>
This e-mail and all attachments are confidential and may also<br>
be privileged. If you are not the named recipient, please notify<br>
the sender and delete the e-mail and all attachments immediately.<br>
Do not disclose the contents to another person. You may not use<br>
the information for any purpose, or store, or copy, it in any way.<br>
<br>
Guardian News & Media Limited is not liable for any computer<br>
viruses or other material transmitted with or as part of this<br>
e-mail. You should employ virus checking software.<br>
<br>
Guardian News & Media Limited<br>
<br>
A member of Guardian Media Group plc<br>
Registered Office<br>
PO Box 68164<br>
Kings Place<br>
90 York Way<br>
London<br>
N1P 2AP<br>
<br>
Registered in England Number 908396<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br>