<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello everyone.</div><div class=""><br class=""></div><div class="">Now I’m working on the patch to OSC that adds 'quota delete' command (former neutron quota-delete, cinder quota-delete and nova quota-delete) [1]</div><div class="">In the past the python-*clients used this command for setting the quotas for resources to default value.</div><div class="">So, some times ago we have a conversation in irc [2] about this "confused" command and the main solution was (with which I agreed) resetting quotas via 'quota set' command with '--default' argument instead of 'quota delete'</div><div class="">But I tried to imagine how a new 'quota set' (with --default argument) command will looks like and I’m not enjoying it.</div><div class="">At the first, in the current state the 'quota set' takes a project/class as a mandatory argument. What will happen if we try to pass a class argument for 'quota set --default'? Actually, there is no classes support for quota delete.</div><div class="">Secondly, I like the idea to pass --compute or/and --volume or/and --network for reseting the respective quotas, but I don't really understand how to properly implement it for 'quota set --default'. It looks like we should split 'quota set' command with old 'quota set' behavior and with the new 'quota set --default'. And I don’t know how it can be represented in the docs and in the cli usage info.</div><div class="">All of this, I believe, will lead to the fact that the 'quota set' will be very complicated for users, not obvious and sometimes unpredictable.</div><div class="">I propose to do not add '—default' to the 'quota set' command. I think that the action that resets quotas to default values needs to be a separate command. But 'quota delete' also is not is not appropriate because delete is really meaning 'remove'.</div><div class="">I propose to call this command 'quota reset' instead of 'quota delete'.</div><div class="">Please tell me what do you think about it.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] <a href="https://review.openstack.org/#/c/376311/" class="">https://review.openstack.org/#/c/376311/</a></div><div class="">[2] <a href="http://eavesdrop.openstack.org/irclogs/%23openstack-sdks/%23openstack-sdks.2016-10-12.log.html#t2016-10-12T15:01:58" class="">http://eavesdrop.openstack.org/irclogs/%23openstack-sdks/%23openstack-sdks.2016-10-12.log.html#t2016-10-12T15:01:58</a></div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><div class="">Best Regards,<br class="">Sergey Belous</div></div>

</div>

<br class=""></body></html>