Fix misspellings in rally
Fix misspellings in rally Change-Id: I7fe2220f07a2b950f23fa4b1f55e6339e017d9c8
This commit is contained in:
parent
23971d6b7f
commit
c72ed01c7e
@ -19,7 +19,7 @@ The Deployment Layer
|
|||||||
====================
|
====================
|
||||||
|
|
||||||
Represents a set of deployment engines. An each deployment engine provide some
|
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.
|
class of deployment engine.
|
||||||
|
|
||||||
The :mod:`rally.deploy.engine` Module
|
The :mod:`rally.deploy.engine` Module
|
||||||
|
@ -71,7 +71,7 @@ class Scenario(object):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def init(cls, config):
|
def init(cls, config):
|
||||||
"""This method will be called with test config. It purpose is to
|
"""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
|
performance of assing of FloatingIps here you will create 200k
|
||||||
FloatinigIps anre retun information about it to
|
FloatinigIps anre retun information about it to
|
||||||
"""
|
"""
|
||||||
|
@ -22,7 +22,7 @@ class CinderVolumes(utils.CinderScenario):
|
|||||||
**kwargs):
|
**kwargs):
|
||||||
"""Tests creating and then deleting a volume.
|
"""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)
|
volume = self._create_volume(size, **kwargs)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"""
|
"""
|
||||||
There is a lot of situation when we would like to work with Enum or consts.
|
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
|
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
|
so to avoid copy paste or dirrect usage of enums values we create singltons
|
||||||
for each enum. (e.g TaskStatus)
|
for each enum. (e.g TaskStatus)
|
||||||
"""
|
"""
|
||||||
|
@ -46,7 +46,7 @@ class EngineFactory(object):
|
|||||||
return {} # here should be endpoint
|
return {} # here should be endpoint
|
||||||
|
|
||||||
def cleanup(self):
|
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
|
An instance of this class used as a context manager on any unsafe
|
||||||
operations to a deployment. Any unhandled exceptions bring a status
|
operations to a deployment. Any unhandled exceptions bring a status
|
||||||
|
@ -142,7 +142,7 @@ class ProviderFactory(object):
|
|||||||
"""Returns list of names of available engines."""
|
"""Returns list of names of available engines."""
|
||||||
return [e.__name__ for e in utils.itersubclasses(ProviderFactory)]
|
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):
|
def upload_image(self, file_path, disk_format, container_format):
|
||||||
"""Upload image that could be used in creating new vms.
|
"""Upload image that could be used in creating new vms.
|
||||||
:file_path: Path to the file with image
|
:file_path: Path to the file with image
|
||||||
@ -155,7 +155,7 @@ class ProviderFactory(object):
|
|||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
# TODO(akscram): Unsed method.
|
# TODO(akscram): Unused method.
|
||||||
def destroy_image(self, image_uuid):
|
def destroy_image(self, image_uuid):
|
||||||
"""Destroy image by image indentificator."""
|
"""Destroy image by image indentificator."""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
@ -188,7 +188,7 @@ def log_task_wrapper(log, msg, **kw):
|
|||||||
|
|
||||||
Class instances that use this decorator should have self.task attribute.
|
Class instances that use this decorator should have self.task attribute.
|
||||||
The wrapper produces logs messages both before and after the method
|
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>"
|
"Task <Task UUID> | Starting: <Logging message>"
|
||||||
[Method execution...]
|
[Method execution...]
|
||||||
@ -218,7 +218,7 @@ def log_deploy_wrapper(log, msg, **kw):
|
|||||||
|
|
||||||
Class instances that use this decorator should have self.deployment
|
Class instances that use this decorator should have self.deployment
|
||||||
attribute. The wrapper produces logs messages both before and after
|
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>"
|
"Deployment <Deployment UUID> | Starting: <Logging message>"
|
||||||
[Method execution...]
|
[Method execution...]
|
||||||
|
2
tests/fixtures/import/package/b.py
vendored
2
tests/fixtures/import/package/b.py
vendored
@ -1,4 +1,4 @@
|
|||||||
'''Normal module that can be imported sucessfuly.
|
'''Normal module that can be imported successfully.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user