summaryrefslogtreecommitdiffstats
path: root/deploy/get_conf.py
AgeCommit message (Collapse)AuthorFilesLines
2016-12-20implement deploy on virthal podYao Lu1-20/+30
Change-Id: I600e21f0d36f37c75cac4ace5f7225e32ab93d56 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-12-18fix interface definition in ymlJulien1-2/+5
1. use list for physic nics; 2. add physic and logic nic parameter in deploy.yml; 3. merge network plane in file deploy.yml and network.yml using the keywork *network plane name* for better usage; *network_map* will be deleted from the return result list in the future. Change-Id: Ia5f3277ec0fe864b7a523162d3b53d650e04e2a3 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-12Merge "refactor get_conf"Zhijiang Hu1-57/+23
2016-12-08refactor get_confJulien1-57/+23
1. delete 'decorator' function, replaced by hostdecorator; 2. reduce unused parameters for functions and wrapters; 3. add a decorator maker for hosts and networks; Change-Id: I77cdc19316e0b11f7853f31fa397da98350789c2 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-08fix yml define and wrong implementationJulien1-1/+1
1. use list to define interfaces 2. no necessary to fetch [0] Change-Id: If17605b27c00d4e7fca8bced9c0bb4f7c724a4f2 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-11-21Fix a security issuewu.zhihui1-1/+1
load yaml file by using function safe_load() See link http://pyyaml.org/wiki/PyYAMLDocumentation for details. Change-Id: I91d1746c5ca1bd1770d47d4e8d0f85b6aed47934 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-19add common config and parse it to prepare deployYao Lu1-0/+123
Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>