The ceilometer.energy.kwapi Module

class ceilometer.energy.kwapi.EnergyPollster(conf)[source]

Bases: ceilometer.energy.kwapi._Base

Measures energy consumption.

get_samples(manager, cache, resources)[source]

Returns all samples.

class ceilometer.energy.kwapi.KwapiClient(conf, url, token=None)[source]

Bases: object

Kwapi API client.

iter_probes()[source]

Returns a list of dicts describing all probes.

class ceilometer.energy.kwapi.PowerPollster(conf)[source]

Bases: ceilometer.energy.kwapi._Base

Measures power consumption.

get_samples(manager, cache, resources)[source]

Returns all samples.