dovetail tool: improve cli to update non-envs automatically 11/25411/5
authorxudan <xudan16@huawei.com>
Fri, 2 Dec 2016 08:58:16 +0000 (08:58 +0000)
committerxudan <xudan16@huawei.com>
Wed, 14 Dec 2016 02:43:19 +0000 (02:43 +0000)
commit05d995655dd07dfb72191c66e2c1c5177925dd5c
tree58eb529aae0ea084e983ebb293898b17ce0658e9
parent4cc82a8477e7b842e83281c72127a73da73edf1d
dovetail tool: improve cli to update non-envs automatically

1. modify cmd_config.yml
  a. change 'env' and 'non-env' into 'config' and 'control'
  b. add subsection 'path' for each block in 'config'
  c. delete 'DEPLOY_SCENARIO' and 'DEPLOY_TYPE'
  d. use 'func_tag' and 'yard_tag' to control container's tag
2. if cmd in config
  a. if its path is envs, it will be used to update envs in dovetail_config
  b. if its path is non_envs, it will be used to update other value in the dict

JIRA: DOVETAIL-70

Change-Id: I1cf9bfcd1a19294a390a85bce6e458ce50672b7f
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/conf/cmd_config.yml
dovetail/conf/dovetail_config.py
dovetail/conf/dovetail_config.yml
dovetail/run.py