The ceilometer.hardware.pollsters.generic Module

The ceilometer.hardware.pollsters.generic Module

class ceilometer.hardware.pollsters.generic.GenericHardwareDeclarativePollster(conf)[source]

Bases: ceilometer.agent.plugin_base.PollsterBase

classmethod build_pollsters(conf)[source]
generate_samples(host_url, data)[source]

Generate a list of Sample from the data returned by inspector

Parameters:
  • host_url – host url of the endpoint
  • data – list of data returned by the corresponding inspector
get_samples(manager, cache, resources=None)[source]

Return an iterable of Sample instances from polling the resources.

Parameters:
  • manager – The service manager invoking the plugin
  • cache – A dictionary for passing data between plugins
  • resources – end point to poll data from
class ceilometer.hardware.pollsters.generic.MeterDefinition(definition_cfg)[source]

Bases: object

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.