[Openstack] [OpenStack][Keystone] Blueprint to store quota data in Keystone

Everett Toews everett.toews at cybera.ca
Sun May 13 17:26:54 UTC 2012


On Fri, May 11, 2012 at 9:07 AM, Joe Topjian <joe.topjian at cybera.ca> wrote:

>
> With regard to your "dot" notation, couldn't multiple --quota args be
> used? For example:
>
> keystone quota-create --quota nova.ram=102400 --quota nova.instances=20
> --quota swift.total=1073741824 <tenant-id>
>

Hmmm....this would be possible with nargs in the argparse module and it
would remove the need to use --quota multiple times.


> Secondly, with regard to quota-create and quota-update, is there a huge
> difference between the two besides one would ultimately do an "insert" and
> one would do an "update"? If that is the only difference, could the two be
> combined into a single "quota-set" subcommand?
>

They're two distinct actions and having both is consistent with the rest of
the keystone CLI.

Everett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120513/752b818c/attachment.html>


More information about the Openstack mailing list