summaryrefslogtreecommitdiffstats
path: root/dovetail/conf/cmd_config.yml
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2016-12-01 06:38:51 +0000
committerxudan <xudan16@huawei.com>2016-12-05 00:56:41 +0000
commit938f256fc4847e878870fa3037eabc7be970f0ea (patch)
tree99132ef780e4b3f6558c1eea5b4506ddca0acb36 /dovetail/conf/cmd_config.yml
parentec43484e1c8c8123a0e45c78d6fcb5a8d5560b43 (diff)
dovetail tool: add debug option to control the log level showing in screen
1. add debug option in cmd_config.yml for controling log showing in screen. 2. rename existent DEBUG as CON_DEBUG because it is used for functest/yardstick container to control the log level. 3. fix the bug in function update_config_envs(). If one key is not in system's envs, os.environ[key] get an error with ErrorKey. JIRA: DOVETAIL-148 Change-Id: If3d75109f51e2e91743b8f1134a76da42e57383a Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/conf/cmd_config.yml')
-rw-r--r--dovetail/conf/cmd_config.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/dovetail/conf/cmd_config.yml b/dovetail/conf/cmd_config.yml
index 4e3d0110..35c000ef 100644
--- a/dovetail/conf/cmd_config.yml
+++ b/dovetail/conf/cmd_config.yml
@@ -31,11 +31,11 @@ cli:
- '--DEPLOY_TYPE'
- '-T'
help: 'DEPLOY_TYPE of the system under test (SUT).'
- DEBUG:
+ CON_DEBUG:
flags:
- - '--DEBUG'
- - '-d'
- help: 'DEBUG for showing debug log.'
+ - '--CON_DEBUG'
+ - '-c'
+ help: 'True for showing debug log in functest/yardstick container.'
non-envs:
testsuite:
flags:
@@ -52,3 +52,8 @@ cli:
- '--tag'
- '-o'
help: 'Overwrite tags for each docker container (e.g. "functest:stable,yardstick:latest")'
+ debug:
+ flags:
+ - '--debug'
+ - '-d'
+ help: 'True for showing debug log in screen.'