aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py
diff options
context:
space:
mode:
authoruser <user@TRAFCLASS-PACKET1.fuel.local>2016-03-15 07:35:29 -0400
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-03-22 13:53:43 +0000
commitf90f8ca7fc28589cc2e741ebd015b4b971e3180b (patch)
tree991b5ad0bb24c6f56d2aeed7be0ff4fd6d067909 /yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py
parent3051e176ebe8391baea4428270fdc10ecf10aec5 (diff)
Support for port_security extension
Change-Id: I5c513eb4024a3cd35c27e3ba6b9ace92af278432 Signed-off-by: user <user@TRAFCLASS-PACKET1.fuel.local> (cherry picked from commit 224c6b9e8e21c1d445cf7f0e506d1e5ace1f9042)
Diffstat (limited to 'yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py')
-rw-r--r--yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py b/yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py
index ee02bcc93..f2a87b2b2 100644
--- a/yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py
+++ b/yardstick/vTC/apexlake/experimental_framework/benchmarks/multi_tenancy_throughput_benchmark.py
@@ -26,8 +26,14 @@ class MultiTenancyThroughputBenchmark(base.RFC2544ThroughputBenchmark):
def __init__(self, name, params):
base.RFC2544ThroughputBenchmark.__init__(self, name, params)
+
+ if common.RELEASE == 'liberty':
+ temp_name = 'stress_workload_liberty.yaml'
+ else:
+ temp_name = 'stress_workload.yaml'
+
self.template_file = "{}{}".format(common.get_template_dir(),
- 'stress_workload.yaml')
+ temp_name)
self.stack_name = 'neighbour'
self.neighbor_stack_names = list()