From f2dcccb4bb9c104e6ea56abb047bd3e3382e27b0 Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 21 Dec 2016 06:54:00 +0000 Subject: dovetail tool: use command 'debug' to control both 'debug' and 'CON_DEBUG' JIRA: DOVETAIL-167 Change-Id: Ieb35f6aa2a6868af7d6dad5727bb3b345709275a Signed-off-by: xudan --- dovetail/conf/cmd_config.yml | 13 ++++--------- dovetail/utils/dovetail_config.py | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'dovetail') diff --git a/dovetail/conf/cmd_config.yml b/dovetail/conf/cmd_config.yml index 1c6418cb..12c59354 100644 --- a/dovetail/conf/cmd_config.yml +++ b/dovetail/conf/cmd_config.yml @@ -30,14 +30,14 @@ cli: - 'functest/envs' - 'yardstick/envs' help: 'IP of the system under test (SUT).' - CON_DEBUG: + debug: flags: - - '--CON_DEBUG' - - '-c' + - '--debug' + - '-d' path: - 'functest/envs' - 'yardstick/envs' - help: 'True for showing debug log in functest/yardstick container.' + help: 'True for showing debug log on screen.' yard_tag: flags: - '--yard_tag' @@ -69,8 +69,3 @@ cli: - '--testarea' default: 'full' help: 'compliance testarea within testsuite' - debug: - flags: - - '--debug' - - '-d' - help: 'True for showing debug log in screen.' diff --git a/dovetail/utils/dovetail_config.py b/dovetail/utils/dovetail_config.py index 33cf57be..7d2c1645 100644 --- a/dovetail/utils/dovetail_config.py +++ b/dovetail/utils/dovetail_config.py @@ -19,7 +19,7 @@ class DovetailConfig: CMD_NAME_TRANS = { 'SUT_TYPE': 'INSTALLER_TYPE', 'SUT_IP': 'INSTALLER_IP', - 'CON_DEBUG': 'CI_DEBUG', + 'DEBUG': 'CI_DEBUG', } @classmethod -- cgit 1.2.3-korg