Ask Your Question
0

how to authenticate against openstack's Ceilometer Client using python program

asked 2014-04-17 11:37:15 -0500

HachDev gravatar image

Hi every one,who know how to authenticate against openstack's Ceilometer Client using python program?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-17 17:05:38 -0500

Hello,

If you already use Python, look at the implementation of python-ceilometerclient

You can browse the code to make an ideea on how to implement your own client (use the python requests library directly) or you can just use the existing client by including it in your python code (quick reference on what to include: client.py) Note that you would also need keystoneclient for ceilometerclient to work correctly.

More examples of what headers are needed especially if you want to use the requests library directly: api-and-cli-query-examples

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-17 11:37:15 -0500

Seen: 198 times

Last updated: Apr 17 '14