dovetail tool: add debug option to control the log level showing in screen 01/25301/2
authorxudan <xudan16@huawei.com>
Thu, 1 Dec 2016 06:38:51 +0000 (06:38 +0000)
committerxudan <xudan16@huawei.com>
Mon, 5 Dec 2016 00:56:41 +0000 (00:56 +0000)
commit938f256fc4847e878870fa3037eabc7be970f0ea
tree99132ef780e4b3f6558c1eea5b4506ddca0acb36
parentec43484e1c8c8123a0e45c78d6fcb5a8d5560b43
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>
dovetail/conf/cmd_config.yml
dovetail/conf/dovetail_config.py
dovetail/run.py