Return something sane from the log impl.

This is just so we can use the log impl. for the binary api test (next commit).

Change-Id: I00e40060e12dce417b39d3d0fe35fb264272fd8b
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2013-03-06 22:47:48 +11:00
parent 54432375ac
commit b7c30cae6b

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