Merge "Return something sane from the log impl."

This commit is contained in:
Jenkins 2013-03-08 02:32:24 +00:00 committed by Gerrit Code Review
commit 27ebcf2c0a

View File

@ -67,12 +67,14 @@ class Connection(base.Connection):
:param source: Optional source filter.
"""
return []
def get_projects(self, source=None):
"""Return an iterable of project id strings.
:param source: Optional source filter.
"""
return []
def get_resources(self, user=None, project=None, source=None,
start_timestamp=None, end_timestamp=None,
@ -95,6 +97,7 @@ class Connection(base.Connection):
:param metaquery: Optional dict with metadata to match on.
:param resource: Optional resource filter.
"""
return []
def get_meters(self, user=None, project=None, resource=None, source=None,
metaquery={}):
@ -113,11 +116,13 @@ class Connection(base.Connection):
:param source: Optional source filter.
:param metaquery: Optional dict with metadata to match on.
"""
return []
def get_raw_events(self, event_filter):
"""Return an iterable of raw event data as created by
:func:`ceilometer.meter.meter_message_from_counter`.
"""
return []
def get_volume_sum(self, event_filter):
"""Return the sum of the volume field for the events