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
This commit is contained in:
venkatamahesh 2015-09-01 09:51:37 +05:30
parent 65da06b9b1
commit 513668403a
3 changed files with 9 additions and 9 deletions

View File

@ -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,

View File

@ -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.

View File

@ -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