16880fcaebb9a950c7ad7ca17ff87b000645f2ac
Currently, if we update an alarm with wrong time constraint which doesn't get name defined, then the shell only prints a very simple string 'name'. This is because our code assume name field has always been specified, however it is not true, then KeyError exception will be raised but not handled well, finally user only gets an implicit message. This patch uses dict.get() for name field, and sends request (may be broken) to ceilometer api, then extracts error message from response. Change-Id: I086c4ec790acc22767ba7f5e43dbcf73f3af5dff Closes-Bug: #1439207
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 developer guide. The master repository is in Git.
See release notes and more at http://docs.openstack.org/developer/python-ceilometerclient/.
Description