<br><br><div class="gmail_quote">On Tue, May 8, 2012 at 11:27 AM, Nick Barcet <span dir="ltr"><<a href="mailto:nick.barcet@canonical.com" target="_blank">nick.barcet@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
The 3rd meeting of the Ceilometer project will be held on May 10th at<br>
1600 UTC in the #openstack-meeting channel on Freenode. The main subject<br>
we will be tackling this week is the external API definition and I'd<br>
like to gather you opinions on the subject prior to the meeting.<br>
<br>
The current proposal which can be found on the blueprint [1] states the<br>
following:<br>
<br>
* Database can only be queried via a REST API (i.e. the database schema<br>
is not a supported API and can change in a non backward compatible way<br>
from one version to the other).<br>
* Requests must be authenticated (separate from keystone, or only linked<br>
to accounting type account)<br></blockquote><div><br></div><div>What is the motivation for authenticating with a service other than keystone?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

* API Server must be able to be redundant<br>
* Requests allow to<br>
  GET account_id list<br>
  GET list of counter_type<br>
  GET list of events per account<br>
    optional start and end for counter_datetime<br>
    optional counter_type<br>
  GET sum of (counter_volume, counter_duration) for counter_type and<br>
account_id<br>
    optional start and end for counter_datetime<br>
<br>
Note: the aggregation of values is done by the API and is not stored in<br>
the database. It may be cached for performance reasons but the caching<br>
strategy is outside of the scope of this blueprint.<br>
<br>
Any comments, suggestion, etc... are very welcome.<br>
<br>
[1] <a href="http://wiki.openstack.org/EfficientMetering#API" target="_blank">http://wiki.openstack.org/EfficientMetering#API</a><br>
<br>
Thanks a lot,<br>
Nick<br>
<br>
<br>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>