The ceilometer.declarative Module

The ceilometer.declarative Module

class ceilometer.declarative.Definition(name, cfg, plugin_manager)[source]

Bases: object

GETTERS_CACHE = {}
JSONPATH_RW_PARSER = <jsonpath_rw_ext.parser.ExtentedJsonPathParser object>
make_getter(fields)[source]
parse(obj, return_all_values=False)[source]
exception ceilometer.declarative.DefinitionException(message, definition_cfg)[source]

Bases: exceptions.Exception

exception ceilometer.declarative.EventDefinitionException(message, definition_cfg)[source]

Bases: ceilometer.declarative.DefinitionException

exception ceilometer.declarative.MeterDefinitionException(message, definition_cfg)[source]

Bases: ceilometer.declarative.DefinitionException

exception ceilometer.declarative.ResourceDefinitionException(message, definition_cfg)[source]

Bases: ceilometer.declarative.DefinitionException

ceilometer.declarative.load_definitions(conf, defaults, config_file, fallback_file=None)[source]

Setup a definitions from yaml config file.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.