Fix misspellings in rally

Fix misspellings in rally

Change-Id: I7fe2220f07a2b950f23fa4b1f55e6339e017d9c8
This commit is contained in:
Shane Wang 2014-02-07 10:01:33 +08:00
parent 23971d6b7f
commit c72ed01c7e
8 changed files with 10 additions and 10 deletions

View File

@ -19,7 +19,7 @@ The Deployment Layer
====================
Represents a set of deployment engines. An each deployment engine provide some
kind of technique of installation of OpenStack. Alse there is an abstract base
kind of technique of installation of OpenStack. Also there is an abstract base
class of deployment engine.
The :mod:`rally.deploy.engine` Module

View File

@ -71,7 +71,7 @@ class Scenario(object):
@classmethod
def init(cls, config):
"""This method will be called with test config. It purpose is to
prepare test enviorment. E.g. if you would like to test
prepare test environment. E.g. if you would like to test
performance of assing of FloatingIps here you will create 200k
FloatinigIps anre retun information about it to
"""

View File

@ -22,7 +22,7 @@ class CinderVolumes(utils.CinderScenario):
**kwargs):
"""Tests creating and then deleting a volume.
Good for testing a maximal bandwith of cloud.
Good for testing a maximal bandwidth of cloud.
"""
volume = self._create_volume(size, **kwargs)

View File

@ -16,7 +16,7 @@
"""
There is a lot of situation when we would like to work with Enum or consts.
E.g. work around Tasks. We would like to use Enum in DB to store status of task
and also in migration that creates DB and in buisness logic to set some status
and also in migration that creates DB and in business logic to set some status
so to avoid copy paste or dirrect usage of enums values we create singltons
for each enum. (e.g TaskStatus)
"""

View File

@ -46,7 +46,7 @@ class EngineFactory(object):
return {} # here should be endpoint
def cleanup(self):
# Destory OpenStack deployment and free resource
# Destroy OpenStack deployment and free resource
An instance of this class used as a context manager on any unsafe
operations to a deployment. Any unhandled exceptions bring a status

View File

@ -142,7 +142,7 @@ class ProviderFactory(object):
"""Returns list of names of available engines."""
return [e.__name__ for e in utils.itersubclasses(ProviderFactory)]
# TODO(akscram): Unsed method.
# TODO(akscram): Unused method.
def upload_image(self, file_path, disk_format, container_format):
"""Upload image that could be used in creating new vms.
:file_path: Path to the file with image
@ -155,7 +155,7 @@ class ProviderFactory(object):
"""
raise NotImplementedError()
# TODO(akscram): Unsed method.
# TODO(akscram): Unused method.
def destroy_image(self, image_uuid):
"""Destroy image by image indentificator."""
raise NotImplementedError()

View File

@ -188,7 +188,7 @@ def log_task_wrapper(log, msg, **kw):
Class instances that use this decorator should have self.task attribute.
The wrapper produces logs messages both before and after the method
excecution, in the following format:
execution, in the following format:
"Task <Task UUID> | Starting: <Logging message>"
[Method execution...]
@ -218,7 +218,7 @@ def log_deploy_wrapper(log, msg, **kw):
Class instances that use this decorator should have self.deployment
attribute. The wrapper produces logs messages both before and after
the method excecution, in the following format:
the method execution, in the following format:
"Deployment <Deployment UUID> | Starting: <Logging message>"
[Method execution...]

View File

@ -1,4 +1,4 @@
'''Normal module that can be imported sucessfuly.
'''Normal module that can be imported successfully.
'''