Ask Your Question
3

Where can I find documentation for OpenStack programs like Ceilometer CLI and/or API guide?

asked 2013-06-13 23:35:07 -0500

Jobin gravatar image

updated 2013-07-28 11:25:57 -0500

Hey!

Where can I get a comprehensive, detailed guide about the Ceilometer CLI guide or even the Ceilometer API. And yes, which one would be more powerful to use- the CLI or the API?

UPDATE: By powerful, I mean which one would give me more functionalities such as listing meters, resources, etc. or is that it does make a difference(I suppose it shouldn't)?

Thanks!

edit retag flag offensive close merge delete

Comments

'more powerful' is a very subjective question: please be more specific about your use case if you want an answer on that.

smaffulli gravatar imagesmaffulli ( 2013-07-26 17:05:03 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-07-26 17:03:04 -0500

smaffulli gravatar image

updated 2013-07-26 17:05:22 -0500

The best place to look for documentation of official OpenStack programs is the documentation site. If there is no documentation there, the best documentation is the source code itself, until more extensive documentation appears on documentation.

edit flag offensive delete link more
0

answered 2013-07-26 22:30:20 -0500

annegentle gravatar image

updated 2013-07-28 13:11:49 -0500

There is developer documentation at http://docs.openstack.org/developer/ceilometer/index.html, specifically see http://docs.openstack.org/developer/ceilometer/webapi/v2.html#api-and-cli-query-examples. Best way to get the CLI information is to type ceilometer help at the command line.

To answer your second question, you need to understand that the CLI is just a layer implementing API calls. Many OpenStack Command Line Interfaces have a --debug parameter that shows all the API calls that make up the single command. I'm not sure off the top of my head if ceilometer's CLI has --debug though. Still, the CLI is just sending API calls.

edit flag offensive delete link more

Comments

The updated page you gave here: http://docs.openstack.org/developer/ceilometer/webapi/v2.html#api-and-cli-query-examples is much more helpful. Thanks, awaiting the answer to the second question.

Jobin gravatar imageJobin ( 2013-07-28 11:26:46 -0500 )edit

The CLI simply implements all the API calls. So it's more a matter of preference than power.

annegentle gravatar imageannegentle ( 2015-08-26 21:59:07 -0500 )edit

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: 2013-06-13 23:35:07 -0500

Seen: 418 times

Last updated: Jul 28 '13