summaryrefslogtreecommitdiffstats
path: root/deploy/get_conf.py
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01Remove useless parameters and rename some parameters in get_conf.pyAlex Yang1-14/+14
Change-Id: I47949f44ea609932059374b128018e36590e88fd Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-07-31Correct the mapping of nodes and roles in virtual deployAlex Yang1-1/+9
JIRA: DAISY-56 Now the roles are assigned to nodes randomly, because the function 'add_hosts_interface' in tempest.py just uses zip to map the host's name to the host. libvirt_utils.py: get mac addresses from VM environment.py: save the mac addresses daisy_server.py: write a new deploy.yml which contains the mac addresses and copy the file to daisy server get_conf.py: get mac addresses from the new deploy.yml tempest.py: assigned roles to nodes when the mac addresses matched controller.xml: increase the RAM to make difference with computer nodes deploy.sh: apply this change to bash script Change-Id: Ia61b60d39d319c5d01e3505727fafc63a0585858 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-07-31use only one file get_conf.py to get configuration data from deploy.ymlzhouya1-0/+46
just move the code from get_para_from_deploy to get_conf file no functionality change. Change-Id: I86aa1325ff37cb2ae0784c9487e62e95cc23f644 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-31enable ceph backend for deploy cinderzhouya1-1/+2
Change-Id: I71255872e6bcf485f8ab72c105db931d96233d03 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-01-03Merge "fix interface get type in get_conf"Zhijiang Hu1-2/+3
2017-01-03fix interface get type in get_confZhou Ya1-2/+3
to kill '[0]' in get_conf.py file Change-Id: I82282ff8431bf3eb93746e505e18547929f20ed9 Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
2017-01-03set MANAGEMENT ip as nullzhouya1-6/+0
we have got MANAGEMENT ip from network.yml section networks ip ranges part,so here is duplicated Change-Id: I144a4c5b7e59a1ec1cb1b83a944752a3a1f4d65a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
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>