<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-07-26 0:29 GMT+08:00 William M Edmonds <span dir="ltr"><<a href="mailto:edmondsw@us.ibm.com" target="_blank">edmondsw@us.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p><font size="2"><br></font><tt><font size="2">Ghanshyam Mann <<a href="mailto:gmann@ghanshyammann.com" target="_blank">gmann@ghanshyammann.com</a>> wrote on 07/25/2018 05:44:46 AM:<br>... snip ...</font></tt><span class=""><br><tt><font size="2">> 1. is it ok to show the keypair used info via API ? any original <br>> rational not to do so or it was just like that from starting.  <br></font></tt><br></span><tt><font size="2">keypairs aren't tied to a tenant/project, so how could nova track/report a quota for them on a given tenant/project? Which is how the API is constructed... note the "tenant_id" in GET /os-quota-sets/{tenant_id}/<wbr>detail</font></tt></p></div></blockquote><div><br></div><div>Keypairs usage is only value for the API 'GET /os-quota-sets/{tenant_id}/detail?user_id={user_id}' </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p><span class=""><br><tt><font size="2"><br>> 2. Because this change will show the keypair used quota information <br>> in API's existing filed 'in_use', it is API behaviour change (not <br>> interface signature change in backward incompatible way) which can <br>> cause interop issue. Should we bump microversion for this change? <br></font></tt><br></span><tt><font size="2">If we find a meaningful way to return in_use data for keypairs, then yes, I would expect a microversion bump so that callers can distinguish between a) talking to an older installation where in_use is always 0 vs. b) talking to a newer installation where in_use is 0 because there are really none in use. Or if we remove keypairs from the response, which at a glance seems to make more sense, that should also have a microversion bump so that someone who expects the old response format will still get it.</font></tt><br><br>
</p></div>
<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></div>