[openstack-dev] [Ceilometer]
Nejc Saje
nejc.saje at xlab.si
Thu Apr 17 18:16:57 UTC 2014
Hi,
quickly said, you can use the client API with something like:
import keystoneclient.v2_0.client as ksclient
creds = {‘username’:’demo’, ‘password’:’password’, ‘auth_url’:’<keystone auth url>’, ‘tenant_name’:’demo’}
keystone = ksclient.Client(**creds)
import ceilometerclient.v2.client as cclient
ceilometer = cclient.Client(token=lambda: keystone.auth_token,
endpoint=config.get('OpenStack', 'ceilometer_endpoint’))
Cheers,
Nejc
On Apr 17, 2014, at 6:52 PM, Hachem Chraiti <hachemfst at gmail.com> wrote:
> Hi ,
> how to authenticate against openstack's Ceilometer Client using python program?
> pleeeease i need response please
>
> Sincerly ,
> Chraiti Hachem
> software enginee
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140417/c039bfc7/attachment.pgp>
More information about the OpenStack-dev
mailing list