← Back to team overview

openstack team mailing list archive

Re: [OpenStack][Keystone] Blueprint to store quota data in Keystone

 


On May 10, 2012, at 12:55 PM, Everett Toews wrote:

> Hi All,
> 
> I've started a blueprint and spec to store quota data in Keystone. Please have a look if you're interested and any feedback is welcome.
> 
> Of course, writing up the spec brought up number of questions for me. You can find more detail in the spec but here they are to get some more exposure.
> 
> 1. For the keystone CLI I'm proposing using JSON for batch create, update, and delete of quotas. I don't believe this is done anywhere else in OpenStack. Good idea? Bad idea? 
> My plan is to go with the JSON.
> 

If you're going to use json in the CLI for complex operations, I would recommend reading the json from stdin rather than passing it as a command-line flag.

This means users could do either:

echo "{'key': 'value'}" | keystone …

or:

keystone … < batch.json


Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com




References