summaryrefslogtreecommitdiffstats
path: root/utils/create_pod_file.py
AgeCommit message (Collapse)AuthorFilesLines
2017-12-22Prepare integration of daisy and dovetailAlex Yang1-0/+3
JARA: DAISY-76 1. add daisy adapter in releng utils and modules 2. add daisy adapter in dovetail jjb script 3. support id_dsa as ssh key Change-Id: I15a1c0cfcc17ae1fe6b7020f674b8bbbb72f4a7a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-23Add pod description file supportYang (Gabriel) Yu1-1/+3
JIRA: BOTTLENECK-178 Need to add pod descrition file for Bottlenecks to be installer-agnostic Change-Id: I100022ff1fcdaabe800492649c138dfe9fce55c2 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2017-07-28support generating pod.yaml for HA test cases on Apexxudan1-6/+9
JIRA: DOVETAIL-472 Now Dovetail can run on Apex pod. So it needs to support generating pod.yaml on this installer to guarantee HA test cases can run successfully. Change-Id: Idc3d457bf9f56ad2ea68d27921498f3060ec375f Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Bugfix: Error when create pod.yaml filexudan1-1/+1
JIRA: DOVETAIL-426 os.path.makedirs(os.path.dirname(args.filepath)) AttributeError: 'module' object has no attribute 'makedirs' Change-Id: I2b75576f05b7926b76148ea6152e4479215344f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-07Bugfix: Error when create pod.yaml file if one node's role is Nonexudan1-8/+18
DOVETAIL-426 Error message: if node.roles[0].lower() == "controller": IndexError: list index out of range Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-02dovetail: create file pod.yaml for running HA test casesxudan1-0/+102
JIRA: DOVETAIL-407 1. HA test cases need a file pod.yaml giving the info of the pod (node's ip, username, password/key_file). 2. Dovetail client has finished the adaption JIRA: DOVETAIL-405. 3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml 4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to /home/opnfv/dovetail/userconfig/id_rsa Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a Signed-off-by: xudan <xudan16@huawei.com>