diff options
author | xudan <xudan16@huawei.com> | 2016-12-21 06:54:00 +0000 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2016-12-21 06:54:00 +0000 |
commit | f2dcccb4bb9c104e6ea56abb047bd3e3382e27b0 (patch) | |
tree | 40ca95563d980f6d89dcc703d02a5e861189bc88 | |
parent | 5230decde18c9640a60118e091840fd1eedd5d3d (diff) |
dovetail tool: use command 'debug' to control both 'debug' and 'CON_DEBUG'
JIRA: DOVETAIL-167
Change-Id: Ieb35f6aa2a6868af7d6dad5727bb3b345709275a
Signed-off-by: xudan <xudan16@huawei.com>
-rw-r--r-- | dovetail/conf/cmd_config.yml | 13 | ||||
-rw-r--r-- | dovetail/utils/dovetail_config.py | 2 |
2 files changed, 5 insertions, 10 deletions
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 |