summaryrefslogtreecommitdiffstats
path: root/utils/parser.py
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2018-03-07 03:47:28 +0000
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-03-15 08:05:16 +0000
commitc7e43d91f4a6babaff1f373b0a7ed102a876e7d3 (patch)
tree322d9d272e34fe54ac0a390dd578849a9934ed0f /utils/parser.py
parentca207611e853332780f61b2a69b999a35e55d0c7 (diff)
bottlenecks offiline support
JIRA: BOTTLENECK-224 This patch for bottlenecks support offiline. By use some offiline image rather than yardstick env prepare. This will solve some problem happened in yardstick image builder. Change-Id: I62b6606570c2ea6ce365212c79777af01c47c9a6 Signed-off-by: liyin <liyin11@huawei.com> (cherry picked from commit adf6a02bae295455f584ebab762592dd57e2422c)
Diffstat (limited to 'utils/parser.py')
-rw-r--r--utils/parser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/parser.py b/utils/parser.py
index b46a3b91..c0c10721 100644
--- a/utils/parser.py
+++ b/utils/parser.py
@@ -45,6 +45,11 @@ class Parser():
cls.bottlenecks_config["pod_info"] = common_config['pod_info']
cls.bottlenecks_config["yardstick_rc_dir"] = \
common_config['yardstick_rc_dir']
+ cls.bottlenecks_config["yardstick_image_dir"] = \
+ common_config['yardstick_image_dir']
+ cls.bottlenecks_config["image_url"] = common_config['image_url']
+ cls.bottlenecks_config["yardstick_image_name"] = \
+ common_config['yardstick_image_name']
cls.config_dir_check(cls.bottlenecks_config["log_dir"])
@classmethod