Go to file
Marc Solanas 69be3ff0e4 Checking the type of auth_token, and fixing it if necessary
When creating a new Client object by calling the get_client function,
if the ceilometer_url is not passed as a parameter, but the token is
passed, the auth_token is converted to a lambda function.
However, when both the ceilometer_url and the auth_token are passed,
this conversion does not take place.
This fix checks if the auth_token is a lambda function or not.
If it is not, it creates a new lambda function which returns the
token.
Without this check, if a token was passed as a string, the
python client would throw and error, when trying to call
self.auth_token() in ceilomenterclient/common/http.py.

Change-Id: I3e564fcf17ce497546b75f0ab8c7ca0f6f2099df
Closes-Bug: #1254186
2014-03-13 23:09:50 -07:00
2014-01-11 17:13:39 +08:00
2012-12-05 14:02:19 -08:00
2013-06-30 22:40:55 -07:00
2012-11-09 12:52:21 +11:00
2013-05-23 09:45:27 +10:00
2013-07-14 21:12:41 +02:00
2013-05-18 09:40:15 -07:00
2014-02-20 00:41:10 +01:00
2013-10-01 16:14:33 +00:00
2014-02-10 19:57:38 +05:30

Python bindings to the Ceilometer API

This is a client library for Ceilometer built on the Ceilometer API. It provides a Python API (the ceilometerclient module) and a command-line tool (ceilometer).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki. The master repository is on GitHub.

See release notes and more at http://docs.openstack.org/developer/python-ceilometerclient/.

Description
RETIRED, OpenStack Telemetry (Ceilometer) Client
Readme 6.8 MiB