From 513668403a8e9ec35d63cfb47bca899df41c73be Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Tue, 1 Sep 2015 09:51:37 +0530 Subject: [PATCH] Fix the typos and description of functions The description of functions is changed according to the function declarations and spell mistake of tunnel is updated Change-Id: I9f291e869eb0cff9574b9d1b30db320293e88e07 Closes-Bug: #1490808 --- rally/deployment/serverprovider/providers/lxc.py | 4 ++-- rally/plugins/openstack/scenarios/designate/basic.py | 8 ++++---- rally/plugins/openstack/scenarios/glance/images.py | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rally/deployment/serverprovider/providers/lxc.py b/rally/deployment/serverprovider/providers/lxc.py index 3479727699..22a8d77667 100644 --- a/rally/deployment/serverprovider/providers/lxc.py +++ b/rally/deployment/serverprovider/providers/lxc.py @@ -109,7 +109,7 @@ class LxcHost(object): self.create_remote_tunnels() def create_local_tunnels(self): - """Create tunel on lxc host side.""" + """Create tunnel on lxc host side.""" for tunnel_to in self.config["tunnel_to"]: script = _get_script_from_template("tunnel-local.sh", net=self.network, @@ -118,7 +118,7 @@ class LxcHost(object): self.server.ssh.run("/bin/sh", stdin=script) def create_remote_tunnels(self): - """Create tunel on remote side.""" + """Create tunnel on remote side.""" for tunnel_to in self.config["tunnel_to"]: script = _get_script_from_template("tunnel-remote.sh", net=self.network, diff --git a/rally/plugins/openstack/scenarios/designate/basic.py b/rally/plugins/openstack/scenarios/designate/basic.py index f344b24fe0..e0575318a5 100644 --- a/rally/plugins/openstack/scenarios/designate/basic.py +++ b/rally/plugins/openstack/scenarios/designate/basic.py @@ -61,7 +61,7 @@ class DesignateBasic(utils.DesignateScenario): @validation.required_openstack(users=True) @scenario.configure(context={"cleanup": ["designate"]}) def create_and_delete_domain(self): - """Add and then delete a domain. + """Create and then delete a domain. Measure the performance of creating and deleting domains with different level of load. @@ -73,7 +73,7 @@ class DesignateBasic(utils.DesignateScenario): @validation.required_openstack(users=True) @scenario.configure(context={"cleanup": ["designate"]}) def create_and_delete_records(self, records_per_domain=5): - """Add and then delete records. + """Create and then delete records. Measure the performance of creating and deleting records with different level of load. @@ -118,7 +118,7 @@ class DesignateBasic(utils.DesignateScenario): @validation.required_openstack(users=True) @scenario.configure(context={"cleanup": ["designate"]}) def create_and_list_records(self, records_per_domain=5): - """Add and then list records. + """Create and then list records. If you have only 1 user in your context, you will add 1 record on every iteration. So you will have more @@ -156,7 +156,7 @@ class DesignateBasic(utils.DesignateScenario): @validation.required_openstack(admin=True) @scenario.configure(context={"cleanup": ["designate"]}) def create_and_delete_server(self): - """Add and then delete a server. + """Create and then delete a server. Measure the performance of creating and deleting servers with different level of load. diff --git a/rally/plugins/openstack/scenarios/glance/images.py b/rally/plugins/openstack/scenarios/glance/images.py index 80fd34860d..f3b5428860 100644 --- a/rally/plugins/openstack/scenarios/glance/images.py +++ b/rally/plugins/openstack/scenarios/glance/images.py @@ -33,7 +33,7 @@ class GlanceImages(utils.GlanceScenario, nova_utils.NovaScenario): @scenario.configure(context={"cleanup": ["glance"]}) def create_and_list_image(self, container_format, image_location, disk_format, **kwargs): - """Add an image and then list all images. + """Create an image and then list all images. Measure the "glance image-list" command performance. @@ -77,7 +77,7 @@ class GlanceImages(utils.GlanceScenario, nova_utils.NovaScenario): @scenario.configure(context={"cleanup": ["glance"]}) def create_and_delete_image(self, container_format, image_location, disk_format, **kwargs): - """Add and then delete an image. + """Create and then delete an image. :param container_format: container format of image. Acceptable formats: ami, ari, aki, bare, and ovf @@ -101,7 +101,7 @@ class GlanceImages(utils.GlanceScenario, nova_utils.NovaScenario): image_location, disk_format, flavor, number_instances, **kwargs): - """Add an image and boot several instances from it. + """Create an image and boot several instances from it. :param container_format: container format of image. Acceptable formats: ami, ari, aki, bare, and ovf