<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><br class="Apple-interchange-newline">
</div>
<br><div><div>On May 10, 2012, at 12:55 PM, Everett Toews wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<div><br></div><div>I've started a <a href="https://blueprints.launchpad.net/keystone/+spec/store-quota-data">blueprint</a> and <a href="http://wiki.openstack.org/KeystoneStoreQuotaData">spec</a> to store quota data in Keystone. Please have a look if you're interested and any feedback is welcome.</div>
<div><br></div><div>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.</div><div><br></div><div><div>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? </div>
<div>My plan is to go with the JSON.</div><div><br></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>This means users could do either:</div><div><br></div><div>echo "{'key': 'value'}" | keystone …</div><div><br></div><div>or:</div><div><br></div><div>keystone … < batch.json</div><div><br></div><div><br></div><div>Take care,</div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Lorin</div><div>--</div><div>Lorin Hochstein</div><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></div></div><br></body></html>