Merge "fix rally scenarios"
This commit is contained in:
commit
32ff4af73d
|
@ -25,7 +25,7 @@ from rally.task import context
|
|||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@context.context(name="prepare_ec2_client", order=110)
|
||||
@context.configure(name="prepare_ec2_client", order=110)
|
||||
class PrepareEC2ClientContext(context.Context):
|
||||
|
||||
def __init__(self, ctx):
|
||||
|
|
|
@ -214,7 +214,7 @@ class EC2Objects(context.Context):
|
|||
LOG.exception('')
|
||||
|
||||
|
||||
@context.context(name="ec2_networks", order=451)
|
||||
@context.configure(name="ec2_networks", order=451)
|
||||
class FakeNetworkGenerator(EC2Objects):
|
||||
"""Context class for adding temporary networks for benchmarks.
|
||||
|
||||
|
@ -269,7 +269,7 @@ class FakeNetworkGenerator(EC2Objects):
|
|||
self.cleanup_networks(tenant_id, client)
|
||||
|
||||
|
||||
@context.context(name="ec2_servers", order=450)
|
||||
@context.configure(name="ec2_servers", order=450)
|
||||
class FakeServerGenerator(EC2Objects):
|
||||
"""Context class for adding temporary servers for benchmarks.
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ from rally.task.scenarios import base as scenario_base
|
|||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@context.context(name="fake_images", order=411)
|
||||
@context.configure(name="fake_images", order=411)
|
||||
class FakeImageGenerator(context.Context):
|
||||
"""Context class for adding images to each user for benchmarks."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue