Fixed spelling mistake
Spelling mistakes was discovered on running misspellings package on codebase Closes-Bug: #1266693 Change-Id: I63bfea00b2b2196d1d971546e7a204137678880c
This commit is contained in:
parent
2245becc28
commit
8af14e60d0
@ -391,7 +391,7 @@ def _list_samples(meter,
|
|||||||
user=None):
|
user=None):
|
||||||
"""Return a list of raw samples.
|
"""Return a list of raw samples.
|
||||||
|
|
||||||
Note: the API talks about "events" these are equivelent to samples.
|
Note: the API talks about "events" these are equivalent to samples.
|
||||||
but we still need to return the samples within the "events" dict
|
but we still need to return the samples within the "events" dict
|
||||||
to maintain API compatibilty.
|
to maintain API compatibilty.
|
||||||
"""
|
"""
|
||||||
|
@ -279,7 +279,7 @@ class NotificationEventsConverter(object):
|
|||||||
* ['*', '!image.*'] same as above.
|
* ['*', '!image.*'] same as above.
|
||||||
traits: dictionary, The keys are trait names, the values are the trait
|
traits: dictionary, The keys are trait names, the values are the trait
|
||||||
definitions
|
definitions
|
||||||
Each trait definiton is a dictionary with the following keys:
|
Each trait definition is a dictionary with the following keys:
|
||||||
type (optional): The data type for this trait. (as a string)
|
type (optional): The data type for this trait. (as a string)
|
||||||
Valid options are: 'text', 'int', 'float' and 'datetime'
|
Valid options are: 'text', 'int', 'float' and 'datetime'
|
||||||
defaults to 'text' if not specified.
|
defaults to 'text' if not specified.
|
||||||
|
@ -90,7 +90,7 @@ class MatchMakerBase(object):
|
|||||||
"""Acknowledge that a key.host is alive.
|
"""Acknowledge that a key.host is alive.
|
||||||
|
|
||||||
Used internally for updating heartbeats, but may also be used
|
Used internally for updating heartbeats, but may also be used
|
||||||
publically to acknowledge a system is alive (i.e. rpc message
|
publicly to acknowledge a system is alive (i.e. rpc message
|
||||||
successfully sent to host)
|
successfully sent to host)
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
@ -172,7 +172,7 @@ class HeartbeatMatchMakerBase(MatchMakerBase):
|
|||||||
"""Acknowledge that a host.topic is alive.
|
"""Acknowledge that a host.topic is alive.
|
||||||
|
|
||||||
Used internally for updating heartbeats, but may also be used
|
Used internally for updating heartbeats, but may also be used
|
||||||
publically to acknowledge a system is alive (i.e. rpc message
|
publicly to acknowledge a system is alive (i.e. rpc message
|
||||||
successfully sent to host)
|
successfully sent to host)
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError("Must implement ack_alive")
|
raise NotImplementedError("Must implement ack_alive")
|
||||||
|
@ -34,7 +34,7 @@ OPTS = [
|
|||||||
cfg.StrOpt('sample_source',
|
cfg.StrOpt('sample_source',
|
||||||
default='openstack',
|
default='openstack',
|
||||||
deprecated_name='counter_source',
|
deprecated_name='counter_source',
|
||||||
help='Source for samples emited on this instance'),
|
help='Source for samples emitted on this instance'),
|
||||||
]
|
]
|
||||||
|
|
||||||
cfg.CONF.register_opts(OPTS)
|
cfg.CONF.register_opts(OPTS)
|
||||||
|
@ -245,7 +245,7 @@ class Connection(object):
|
|||||||
end_timestamp=None, end_timestamp_op=None):
|
end_timestamp=None, end_timestamp_op=None):
|
||||||
"""Yields list of AlarmChanges describing alarm history
|
"""Yields list of AlarmChanges describing alarm history
|
||||||
|
|
||||||
Changes are always sorted in reverse order of occurence, given
|
Changes are always sorted in reverse order of occurrence, given
|
||||||
the importance of currency.
|
the importance of currency.
|
||||||
|
|
||||||
Segregation for non-administrative users is done on the basis
|
Segregation for non-administrative users is done on the basis
|
||||||
|
@ -910,7 +910,7 @@ class Connection(base.Connection):
|
|||||||
end_timestamp=None, end_timestamp_op=None):
|
end_timestamp=None, end_timestamp_op=None):
|
||||||
"""Yields list of AlarmChanges describing alarm history
|
"""Yields list of AlarmChanges describing alarm history
|
||||||
|
|
||||||
Changes are always sorted in reverse order of occurence, given
|
Changes are always sorted in reverse order of occurrence, given
|
||||||
the importance of currency.
|
the importance of currency.
|
||||||
|
|
||||||
Segregation for non-administrative users is done on the basis
|
Segregation for non-administrative users is done on the basis
|
||||||
|
@ -789,7 +789,7 @@ class Connection(base.Connection):
|
|||||||
end_timestamp=None, end_timestamp_op=None):
|
end_timestamp=None, end_timestamp_op=None):
|
||||||
"""Yields list of AlarmChanges describing alarm history
|
"""Yields list of AlarmChanges describing alarm history
|
||||||
|
|
||||||
Changes are always sorted in reverse order of occurence, given
|
Changes are always sorted in reverse order of occurrence, given
|
||||||
the importance of currency.
|
the importance of currency.
|
||||||
|
|
||||||
Segregation for non-administrative users is done on the basis
|
Segregation for non-administrative users is done on the basis
|
||||||
|
@ -62,7 +62,7 @@ class Event(Model):
|
|||||||
the Event ID, which comes from the
|
the Event ID, which comes from the
|
||||||
underlying storage system.
|
underlying storage system.
|
||||||
:param event_type: The type of the event.
|
:param event_type: The type of the event.
|
||||||
:param generated: UTC time for when the event occured.
|
:param generated: UTC time for when the event occurred.
|
||||||
:param traits: list of Traits on this Event.
|
:param traits: list of Traits on this Event.
|
||||||
"""
|
"""
|
||||||
Model.__init__(self, message_id=message_id, event_type=event_type,
|
Model.__init__(self, message_id=message_id, event_type=event_type,
|
||||||
|
@ -434,7 +434,7 @@ class TestAlarms(FunctionalTest,
|
|||||||
json['threshold_rule']['query'].append({
|
json['threshold_rule']['query'].append({
|
||||||
'field': 'project_id', 'op': 'eq',
|
'field': 'project_id', 'op': 'eq',
|
||||||
'value': self.auth_headers['X-Project-Id']})
|
'value': self.auth_headers['X-Project-Id']})
|
||||||
# to check to BoundedInt type convertion
|
# to check to BoundedInt type conversion
|
||||||
json['threshold_rule']['evaluation_periods'] = 3
|
json['threshold_rule']['evaluation_periods'] = 3
|
||||||
json['threshold_rule']['period'] = 180
|
json['threshold_rule']['period'] = 180
|
||||||
if alarms[0].name == 'added_alarm':
|
if alarms[0].name == 'added_alarm':
|
||||||
|
@ -37,7 +37,7 @@ cinder_control_exchange cinder Exchange
|
|||||||
neutron_control_exchange neutron Exchange name for Neutron notifications
|
neutron_control_exchange neutron Exchange name for Neutron notifications
|
||||||
metering_secret change this or be hacked Secret value for signing metering messages
|
metering_secret change this or be hacked Secret value for signing metering messages
|
||||||
metering_topic metering the topic ceilometer uses for metering messages
|
metering_topic metering the topic ceilometer uses for metering messages
|
||||||
sample_source openstack The source name of emited samples
|
sample_source openstack The source name of emitted samples
|
||||||
control_exchange ceilometer AMQP exchange to connect to if using RabbitMQ or Qpid
|
control_exchange ceilometer AMQP exchange to connect to if using RabbitMQ or Qpid
|
||||||
database_connection mongodb://localhost:27017/ceilometer Database connection string
|
database_connection mongodb://localhost:27017/ceilometer Database connection string
|
||||||
metering_api_port 8777 The port for the ceilometer API server
|
metering_api_port 8777 The port for the ceilometer API server
|
||||||
|
@ -43,7 +43,7 @@ Event Structure
|
|||||||
Events contain the following information:
|
Events contain the following information:
|
||||||
|
|
||||||
event_type
|
event_type
|
||||||
A dotted string defining what event occured, such as "compute.instance.resize.start"
|
A dotted string defining what event occurred, such as "compute.instance.resize.start"
|
||||||
|
|
||||||
message_id
|
message_id
|
||||||
A UUID for this event.
|
A UUID for this event.
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
# Options defined in ceilometer.sample
|
# Options defined in ceilometer.sample
|
||||||
#
|
#
|
||||||
|
|
||||||
# Source for samples emited on this instance (string value)
|
# Source for samples emitted on this instance (string value)
|
||||||
# Deprecated group/name - [DEFAULT]/counter_source
|
# Deprecated group/name - [DEFAULT]/counter_source
|
||||||
#sample_source=openstack
|
#sample_source=openstack
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user