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:
parent
54432375ac
commit
b7c30cae6b
@ -67,12 +67,14 @@ class Connection(base.Connection):
|
|||||||
|
|
||||||
:param source: Optional source filter.
|
:param source: Optional source filter.
|
||||||
"""
|
"""
|
||||||
|
return []
|
||||||
|
|
||||||
def get_projects(self, source=None):
|
def get_projects(self, source=None):
|
||||||
"""Return an iterable of project id strings.
|
"""Return an iterable of project id strings.
|
||||||
|
|
||||||
:param source: Optional source filter.
|
:param source: Optional source filter.
|
||||||
"""
|
"""
|
||||||
|
return []
|
||||||
|
|
||||||
def get_resources(self, user=None, project=None, source=None,
|
def get_resources(self, user=None, project=None, source=None,
|
||||||
start_timestamp=None, end_timestamp=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 metaquery: Optional dict with metadata to match on.
|
||||||
:param resource: Optional resource filter.
|
:param resource: Optional resource filter.
|
||||||
"""
|
"""
|
||||||
|
return []
|
||||||
|
|
||||||
def get_meters(self, user=None, project=None, resource=None, source=None,
|
def get_meters(self, user=None, project=None, resource=None, source=None,
|
||||||
metaquery={}):
|
metaquery={}):
|
||||||
@ -113,11 +116,13 @@ class Connection(base.Connection):
|
|||||||
:param source: Optional source filter.
|
:param source: Optional source filter.
|
||||||
:param metaquery: Optional dict with metadata to match on.
|
:param metaquery: Optional dict with metadata to match on.
|
||||||
"""
|
"""
|
||||||
|
return []
|
||||||
|
|
||||||
def get_raw_events(self, event_filter):
|
def get_raw_events(self, event_filter):
|
||||||
"""Return an iterable of raw event data as created by
|
"""Return an iterable of raw event data as created by
|
||||||
:func:`ceilometer.meter.meter_message_from_counter`.
|
:func:`ceilometer.meter.meter_message_from_counter`.
|
||||||
"""
|
"""
|
||||||
|
return []
|
||||||
|
|
||||||
def get_volume_sum(self, event_filter):
|
def get_volume_sum(self, event_filter):
|
||||||
"""Return the sum of the volume field for the events
|
"""Return the sum of the volume field for the events
|
||||||
|
Loading…
x
Reference in New Issue
Block a user