Solve some spelling mistakes.

Change-Id: Id7e8c4efbfc4203e63583b68c87be75f4a195b66
This commit is contained in:
zte-hanrong
2016-11-18 14:57:06 +08:00
parent 3ebe8ab70f
commit 99735fa39a
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
--- ---
features: features:
- Added a generic scoring engine module, which - Added a generic scoring engine module, which
will standarize interactions with scoring engines will standardize interactions with scoring engines
through the common API. It is possible to use the through the common API. It is possible to use the
scoring engine by different Strategies, which scoring engine by different Strategies, which
improve the code and data model re-use. improve the code and data model re-use.

View File

@@ -2,4 +2,4 @@
features: features:
- Added a way to return the of available goals depending - Added a way to return the of available goals depending
on which strategies have been deployed on the node on which strategies have been deployed on the node
where the decison engine is running. where the decision engine is running.

View File

@@ -30,7 +30,7 @@ This algorithm not only minimizes the overall number of used servers, but also
minimizes the number of migrations. minimizes the number of migrations.
It has been developed only for tests. You must have at least 2 physical compute It has been developed only for tests. You must have at least 2 physical compute
nodes to run it, so you can easilly run it on DevStack. It assumes that live nodes to run it, so you can easily run it on DevStack. It assumes that live
migration is possible on your OpenStack cluster. migration is possible on your OpenStack cluster.
""" """

View File

@@ -129,7 +129,7 @@ class VMWorkloadConsolidation(base.ServerConsolidationBaseStrategy):
self.number_of_released_nodes -= 1 self.number_of_released_nodes -= 1
def add_action_disable_node(self, node): def add_action_disable_node(self, node):
"""Add an action for node disablity into the solution. """Add an action for node disability into the solution.
:param node: node object :param node: node object
:return: None :return: None

View File

@@ -108,7 +108,7 @@ class Audit(base.WatcherPersistentObject, base.WatcherObject,
_old_state = None _old_state = None
# NOTE(v-francoise): The way oslo.versionedobjects works is by using a # NOTE(v-francoise): The way oslo.versionedobjects works is by using a
# __new__ that will automagically create the attributes referenced in # __new__ that will automatically create the attributes referenced in
# fields. These attributes are properties that raise an exception if no # fields. These attributes are properties that raise an exception if no
# value has been assigned, which means that they store the actual field # value has been assigned, which means that they store the actual field
# value in an "_obj_%(field)s" attribute. So because we want to proxify a # value in an "_obj_%(field)s" attribute. So because we want to proxify a