Base classes for storage engines
Bases: object
Base class for storage system connections.
Clear database.
Clear expired data from the backend storage system.
Clearing occurs according to the time-to-live.
Parameters: | ttl – Number of seconds to keep records for. |
---|
Return an dictionary with the capabilities of each driver.
Return an iterable of model.Statistics instances.
The filter must have a meter value set.
Return an iterable of model.Meter instances.
Iterable items containing meter information. :param user: Optional ID for user that owns the resource. :param project: Optional ID for project that owns the resource. :param resource: Optional resource filter. :param source: Optional source filter. :param metaquery: Optional dict with metadata to match on. :param pagination: Optional pagination query.
Return an iterable of models.Resource instances.
Iterable items containing resource information. :param user: Optional ID for user that owns the resource. :param project: Optional ID for project that owns the resource. :param source: Optional source filter. :param start_timestamp: Optional modified timestamp start range. :param start_timestamp_op: Optional timestamp start range operation. :param end_timestamp: Optional modified timestamp end range. :param end_timestamp_op: Optional timestamp end range operation. :param metaquery: Optional dict with metadata to match on. :param resource: Optional resource filter. :param pagination: Optional pagination query.
Return an iterable of model.Sample instances.
Parameters: |
|
---|
Return a dictionary representing the performance capabilities.
This is needed to evaluate the performance of each driver.
Return an iterable of model.Sample objects.
Parameters: |
|
---|
Write the data to the backend storage system.
Parameters: | data – a dictionary such as returned by ceilometer.meter.meter_message_from_counter |
---|
All timestamps must be naive utc datetime object.
Migrate the database to version or the most recent version.
Bases: object
Base class for storage API models.
Bases: exceptions.Exception
Bases: exceptions.Exception
Bases: object
Class for pagination query.