<div dir="ltr">Chris, thanks for the blog to explain your idea! It helps me understand your idea better.<div><br></div><div>I agree the goal for API interface design in your blog. But one point I guess you also agree, that is "The interface is easy to understand for API user". So look at the example of API request flow with gabbi,  it is pretty clear for me even I didn't spend any time to learn the gabbi. That means: gabbi is cool and the interface is clear! But the only confuse is "total: ∞". And the related ResourceClass is "ssd", does it mean disk size is infinite? For a user, he is learning our API, he needs to search the document, due to he want to know "what is this special usage way means to". If user can understand our API without any document, so that is prefect.<div><br></div><div>I agree all of other point you said, limit resource, unified concept. If we want to finish that goal, I think the way is "Use ResourceProviderTags instead of ResourceClass", not "Use ResourceClass instead of ResourceClass"<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-05 21:16 GMT+08:00 Chris Dent <span dir="ltr"><<a href="mailto:cdent+os@anticdent.org" target="_blank">cdent+os@anticdent.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2 Aug 2016, Alex Xu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Chris have a thought about using ResourceClass to describe Capabilities<br>
with an infinite inventory. In the beginning we brain storming the idea of<br>
Tags, Tan Lin have same thought, but we say no very quickly, due to the<br>
ResourceClass is really about Quantitative stuff. But Chris give very good<br>
point about simplify the ResourceProvider model and the API.<br>
</blockquote>
<br></span>
I'm still leaning in this direction. I realized I wasn't explaining<br>
myself very well and "because I like it" isn't really a good enough<br>
for doing anything, so I wrote something up about it:<br>
<br>
   <a href="https://anticdent.org/simple-resource-provision.html" rel="noreferrer" target="_blank">https://anticdent.org/simple-<wbr>resource-provision.html</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Chris Dent               ┬─┬ノ( º _ ºノ)         <a href="http://anticdent.org/" rel="noreferrer" target="_blank">http://anticdent.org/</a><br>
freenode: cdent                                         tw: @anticdent</font></span><br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>