summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2016-12-23 00:58:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-23 00:58:36 +0000
commitbae8d5ce983e8971c38aa4825360396e8d9b4c3f (patch)
tree05ef0244949648f7cbfde16b8b18e57852a9ef57
parent76be7f7c6b2921aad6a68504a2020fb032eb5fde (diff)
parentf2dcccb4bb9c104e6ea56abb047bd3e3382e27b0 (diff)
Merge "dovetail tool: use command 'debug' to control both 'debug' and 'CON_DEBUG'"
-rw-r--r--dovetail/conf/cmd_config.yml13
-rw-r--r--dovetail/utils/dovetail_config.py2
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