openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11651
Re: [OpenStack][Keystone] Blueprint to store quota data in Keystone
On Fri, May 11, 2012 at 9:07 AM, Joe Topjian <joe.topjian@xxxxxxxxx> 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
Follow ups
References