Re: [Openstack] [Metering] API Extensibility

2012-05-14 Thread Loic Dachary
On 05/10/2012 05:54 PM, Doug Hellmann wrote: > > > On Thu, May 10, 2012 at 9:22 AM, Loic Dachary > wrote: > > > Another item that we need to discuss is extensibility of this API. > > Hi, > > Here is a proposal, which we could discuss further during the meeting

Re: [Openstack] [Metering] API Extensibility (was: External API definition)

2012-05-10 Thread Doug Hellmann
On Thu, May 10, 2012 at 9:22 AM, Loic Dachary wrote: > > Another item that we need to discuss is extensibility of this API. > > Hi, > > Here is a proposal, which we could discuss further during the meeting. > > GET extension=¶m1=foo¶m2=bar > > The API looks up /usr/share/ceilometer/extensions

Re: [Openstack] [Metering] API Extensibility (was: External API definition)

2012-05-10 Thread Nick Barcet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loic Dachary wrote: >> Another item that we need to discuss is extensibility of this API. > >Hi, > >Here is a proposal, which we could discuss further during the meeting. > >GET extension=¶m1=foo¶m2=bar > >The API looks up /usr/share/ceilometer

Re: [Openstack] [Metering] API Extensibility (was: External API definition)

2012-05-10 Thread Loic Dachary
> Another item that we need to discuss is extensibility of this API. Hi, Here is a proposal, which we could discuss further during the meeting. GET extension=¶m1=foo¶m2=bar The API looks up /usr/share/ceilometer/extensions/.py and loads it. The module defines a query function that