From 5f7bc19ccb2d23d5bf8e4be0fc55db3088a41b20 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Sat, 29 Aug 2015 21:09:20 +0530 Subject: [PATCH] Fixed some typos in the files dirrect => direct sample => simple and some typos in description of functions Change-Id: Id175ea43554f380e2b5b3f053178c44b70ac842c Closes-Bug: #1490141 --- rally/consts.py | 2 +- rally/plugins/openstack/scenarios/heat/stacks.py | 6 +++--- .../openstack/scenarios/sahara/node_group_templates.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rally/consts.py b/rally/consts.py index 0f889cb4..94c2f616 100644 --- a/rally/consts.py +++ b/rally/consts.py @@ -17,7 +17,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 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 direct usage of enums values we create singltons for each enum. (e.g TaskStatus) """ diff --git a/rally/plugins/openstack/scenarios/heat/stacks.py b/rally/plugins/openstack/scenarios/heat/stacks.py index bab3db0e..4b23b8cb 100644 --- a/rally/plugins/openstack/scenarios/heat/stacks.py +++ b/rally/plugins/openstack/scenarios/heat/stacks.py @@ -33,7 +33,7 @@ class HeatStacks(utils.HeatScenario): @scenario.configure(context={"cleanup": ["heat"]}) def create_and_list_stack(self, template_path, parameters=None, files=None, environment=None): - """Add a stack and then list all stacks. + """Create a stack and then list all stacks. Measure the "heat stack-create" and "heat stack-list" commands performance. @@ -64,7 +64,7 @@ class HeatStacks(utils.HeatScenario): @scenario.configure(context={"cleanup": ["heat"]}) def create_and_delete_stack(self, template_path, parameters=None, files=None, environment=None): - """Add and then delete a stack. + """Create and then delete a stack. Measure the "heat stack-create" and "heat stack-delete" commands performance. @@ -115,7 +115,7 @@ class HeatStacks(utils.HeatScenario): parameters=None, updated_parameters=None, files=None, updated_files=None, environment=None, updated_environment=None): - """Add, update and then delete a stack. + """Create, update and then delete a stack. Measure the "heat stack-create", "heat stack-update" and "heat stack-delete" commands performance. diff --git a/rally/plugins/openstack/scenarios/sahara/node_group_templates.py b/rally/plugins/openstack/scenarios/sahara/node_group_templates.py index 73ae33cd..c1bb3c3c 100644 --- a/rally/plugins/openstack/scenarios/sahara/node_group_templates.py +++ b/rally/plugins/openstack/scenarios/sahara/node_group_templates.py @@ -36,7 +36,7 @@ class SaharaNodeGroupTemplates(utils.SaharaScenario): This scenario creates two Node Group Templates with different set of node processes. The master Node Group Template contains Hadoop's management processes. The worker Node Group Template contains - Haddop's worker processes. + Hadoop's worker processes. By default the templates are created for the vanilla Hadoop provisioning plugin using the version 1.2.1