summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincenzo Riccobene <vincenzox.m.riccobene@intel.com>2016-01-04 11:18:01 +0000
committerVincenzo Riccobene <vincenzox.m.riccobene@intel.com>2016-01-04 13:07:35 +0000
commit3805f034187af09acd728d2794a7b0f1b0303cc9 (patch)
tree106a67eda2b277adae6fef1d81eb767685116150
parent3347814c3dac253c03dacd3595069f22e4d88547 (diff)
Remove data manager from ApexLake
Since the InfluxBD dispatcher is used to store the data, the apexlake data manager is not required anymore JIRA: YARDSTICK-35 Change-Id: I8d85161814d83a991ee149532af0437e9c248445 Signed-off-by: Vincenzo Riccobene <vincenzo.m.riccobene@intel.com> Signed-off-by: Vincenzo Riccobene <vincenzox.m.riccobene@intel.com>
-rw-r--r--yardstick/vTC/apexlake/experimental_framework/benchmarking_unit.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/yardstick/vTC/apexlake/experimental_framework/benchmarking_unit.py b/yardstick/vTC/apexlake/experimental_framework/benchmarking_unit.py
index a688f4a11..1a19826ca 100644
--- a/yardstick/vTC/apexlake/experimental_framework/benchmarking_unit.py
+++ b/yardstick/vTC/apexlake/experimental_framework/benchmarking_unit.py
@@ -24,7 +24,7 @@ import inspect
from experimental_framework.benchmarks import benchmark_base_class as base
from experimental_framework import common
-from experimental_framework import data_manager as data
+# from experimental_framework import data_manager as data
from experimental_framework import heat_template_generation as heat
from experimental_framework import deployment_unit as deploy
@@ -66,7 +66,7 @@ class BenchmarkingUnit:
self.template_files = []
self.benchmarks = list()
self.benchmark_names = list()
- self.data_manager = data.DataManager(self.results_directory)
+ # self.data_manager = data.DataManager(self.results_directory)
self.heat_template_parameters = heat_template_parameters
self.template_files = \
heat.get_all_heat_templates(self.template_dir,
@@ -89,13 +89,13 @@ class BenchmarkingUnit:
self.get_benchmark_name(benchmark['name']),
benchmark['params']))
- for template_file_name in self.template_files:
- experiment_name = BenchmarkingUnit.extract_experiment_name(
- template_file_name)
- self.data_manager.create_new_experiment(experiment_name)
- for benchmark in self.benchmarks:
- self.data_manager.add_benchmark(experiment_name,
- benchmark.get_name())
+ # for template_file_name in self.template_files:
+ # experiment_name = BenchmarkingUnit.extract_experiment_name(
+ # template_file_name)
+ # self.data_manager.create_new_experiment(experiment_name)
+ # for benchmark in self.benchmarks:
+ # self.data_manager.add_benchmark(experiment_name,
+ # benchmark.get_name())
def finalize(self):
"""
@@ -105,7 +105,7 @@ class BenchmarkingUnit:
:return: None
"""
- self.data_manager.generate_result_csv_file()
+ # self.data_manager.generate_result_csv_file()
common.DEPLOYMENT_UNIT.destroy_all_deployed_stacks()
def run_benchmarks(self):