summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup
AgeCommit message (Collapse)AuthorFilesLines
2017-01-12Modify utils/ code into PEP8 styleliyin4-5/+5
JIRA: BOTTLENECK-100 Modify all the code in the utils folder into PEP8 style. Using more standard way to realize our function. Change-Id: I965c507390adcb4404d33710f783b22241542890 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-09Merge "Bottlenecks frame support stack create"Yu Yang (Gabriel)1-0/+8
2017-01-04Bottlenecks frame support stack createliyin1-0/+8
JIRA: BOTTLENECK-120 add the common.py,manager.py,template.py, could use the function import utils.infra_setup.heat.x then the code could import the package. Change-Id: I7bbd115bd13d87c4f43b7e4bb35e6a6bf8465bc8 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-04bottlenecks openstack Newton supportliyin4-580/+329
JIRA: BOTTLENECK-119 Change the file of template.py manager.py and common.py file This change helps Bottlenecks project support Newton. template.py support stack operation. manager.py support nova and glance operation. common.py support some operations of openstack Newton. Change-Id: Ibee110a2b7918c80b2651bb86a9fb7160414e842 Signed-off-by: liyin <liyin11@huawei.com>
2016-10-01autopep8 fix for flake8yuyang5-19/+46
JIRA: BOTTLENECK-101 Using autopep8 to fix the python style scanned by flake8 Change-Id: I74bf28ed4d999dac3dd36e9101f099c9853a49b6 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-09-21delete private key for securityMatthewLi3-97/+1
Change-Id: Ibb53a25d912fd96c93b25e39ee8da8b0977cf071 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-06-13bugfix for image cleanup and python script calling by subprocess shellMatthewLi1-63/+0
JIRA: BOTTLENECK-70 log is shown in https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-compass-vstf-virtual-daily-master/9/console and https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-compass-vstf-virtual-daily-master/10/console for image names, we use bottlenecks_<suite name>_<option> for vstf_collector.py, it is used for transfer test result to community dashboard, it works for B release, for C release, we should adapt it later, now we only fix its path error. Change-Id: Iad2bf39837d02aa1e5ea8a323411d98082135882 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-06-12bugfix for vstf stack nameMatthewLi2-4/+4
JIRA: BOTTLENECK-70 Change-Id: I768be0a0b30df266f6f130bf616d6d808cf1849c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-05-10inject dns_alt_names into puppet.confwangyaoguang2-0/+2
There were cert issues when puppet agents use old hostname 'rubbos-control'. This can be eliminated by adding dns-alt_names in puppet.conf JIRA: BOTTLENECK-75 Change-Id: Id483ca2792b8faef6ab87788371e60ce8e390b5e Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
2016-04-28install puppet service when creating OS instanceswangyaoguang2-0/+27
JIRA: BOTTLENECKS-73 Change-Id: I2500c6c81aa154cb8b025e3b425c4362fa798a18 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
2016-04-08add unittest for basic heat api management and template creation functionsMatthewLi5-0/+1000
JIRA: BOTTLENECK-58 Change-Id: Ie563f3f5e42f43bc9ac379b56bed23f33d96791d Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-04-01heat api management and template functions parametersMatthewLi4-0/+440
JIRA: BOTTLENECK-58 Change-Id: I496ef9147f9cf58328331264e7a8917581588e8c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-04-01heat api management and template creation functionsMatthewLi3-0/+248
JIRA: BOTTLENECK-58 Change-Id: I6cf7f1a2ed02ca32a75cb54885591db6546ed41c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-03-24rubbos instance workflow improvementMatthewLi4-104/+321
JIRA: BOTTLENECK-46 Change-Id: I3c2adc93701b4b1fb2d34601e2aaeb8d714880b7 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-01-20JIRA: BOTTLENECKS-41 define the documents of vstf in B releaseYiting.Li5-129/+24
Change-Id: Ib2ef6fabf0452a3e686d3de0ec7424e9a0500482 Signed-off-by: Yiting.Li <liyiting@huawei.com>
2016-01-18Rubbos heat template updateQiLiang1-0/+9
For compatible running rubbos on openstack before liberty version JIRA: - Change-Id: I10848fe23538c03d9f0b7b24c9ae70cfed51ffe3 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Add license headersQiLiang5-0/+40
JIRA: - Change-Id: I2e3f5f23fec9bb20a97e27edbdfe5e3017255a2a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Scripts update to run rubbos on compass4nfv env 4QiLiang2-3/+3
JIRA: - Change-Id: Ic6daf53412bdd992f0430ba6feba35a689f44700 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Scripts update to run rubbos on compass4nfv env 3QiLiang1-8/+8
JIRA: - Change-Id: Ia962fbbd8a0479c86f5afbde8232ef36e1740e47 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Scripts update to run rubbos on compass4nfv env 2QiLiang2-45/+57
Enable stable branch checkout JIRA: - Change-Id: Ibe16adc4a6a1810a75b60ef9198ce7ea239d79c3 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Scripts update to run rubbos on compass4nfv envQiLiang3-22/+47
JIRA: - Change-Id: Ic2b9f09d4d059e1db3b06abb5f36df2c06f4a8b8 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-16Add Dockerfile and bootstrap scripts to run rubbosQiLiang1-2/+0
JIRA: - Change-Id: Ifc14193ee2d6f0a1f9f5b67a2043ed6640a8b928 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-12modify test_length_list from "64" to "64 128 256 512 1024"Yiting.Li1-1/+1
JIRA: BOTTLENECK-29 Change-Id: Id1bfcfc403d3d7cb4b7e7f6f9701a5e2cf527004 Signed-off-by: Yiting.Li <liyiting@huawei.com>
2016-01-11Add vstf_collector.py for upload tu case results.Yiting.Li3-0/+74
JIRA: BOTTLENECK-29 Signed-off-by: qwyang0126 <qwyang0126@gmail.com> Change-Id: I238da7d9f208b3bba61001583e493a5362f5bc33
2016-01-11Add ci scripts for vstf tu cases.Yiting.Li4-35/+100
JIRA: BOTTLENECK-29 Change-Id: I578273a6130b2eaf67a8bbbea2d3c70bbe66bf90 Signed-off-by: Yiting.Li <liyiting@huawei.com>
2016-01-10Add dashboard configurationrexlee87762-1/+10
JIRA: BOTTLENECK-30 Change-Id: Ic093abb9c8b70f5722737c0aa2066455d805e679 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-01-09Support run rubbos test mult timesQiLiang1-1/+1
Update Mysql configuration to support run test mult times JIRA: BOTTLENECK-24 Change-Id: I29f2b17be03b095e1af569a53bbbecf4f78ab005 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-09Merge "JIRA: BOTTLENECKS-29"Jun Li6-0/+734
2016-01-09Rubbos test case pipline minor updateQiLiang2-18/+29
- Add timestamp - Fix code pull bug - Shoten test run time JIRA: BOTTLENECK-24 Change-Id: Ie83fcf0e4a4ad2da715a694118f1f9e916a5f704 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-09JIRA: BOTTLENECKS-29Yiting.Li6-0/+734
End to End test framework bottleneck vstf test suite ci script(currently progress is ok without vstf images) Change-Id: Ifdd1289b05d2916f6022c01c2581674e01bc022f Signed-off-by: Yiting.Li <liyiting@huawei.com>
2016-01-07Add result handler & fix test run hanging bugQiLiang2-3/+31
JIRA: BOTTLENECK-24 Change-Id: I8ef2c55d725af9258c34c3fd9b1161565851f7e0 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-06Merge "Add hosts config"Jun Li4-11/+31
2016-01-06Add hosts configQiLiang4-11/+31
JIRA: BOTTLENECK-24 Change-Id: I90c46abb0e77f3b93a4e61ae34b0f32d35cf30cd Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-06amend vstf repo name in ruduce of conflictMatthewLi1-1/+1
Change-Id: I0b76f92004d0dfd03a790dc96bcf1439ebd4e829 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-01-06add debug function for vstf to test in lf openstack envMatthewLi1-0/+44
JIRA: BOTTLENECK-38 Change-Id: Ie1f44665c74ac8ea5f26cc75e571caafbb0999d7 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-01-05Update stack creation status checkQiLiang4-16/+108
- add more debug info - authorized_keys modify for root access - extend timeout time for ssh login JIRA: BOTTLENECK-33 Change-Id: Ib2679cad7c7a9a73442d05795ac89f9a47d56176 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-04Add ci run scirptsQiLiang2-0/+14
JIRA: - Change-Id: I94a0ea01fa7df0e279a605457148fdc4f3f03fb8 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-04Update vm prepare setupQiLiang5-15/+135
add nameserver, ssh-key configure and package install JIRA: BOTTLENECK-33 Change-Id: I66dca9d2367f85bc353ce159689028be97a3b78d Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-31Update stack creation status checkQiLiang2-79/+53
JIRA: BOTTLENECK-33 Change-Id: I8e7bec07ae100cb24dd099b08a195801731a90c5 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-30amend bottlenecks image urlMatthewLi1-9/+18
JIRA: BOTTLENECK-33 Change-Id: I2c0c4e3804b4e07e074c0a779b407392fe450526 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-30complete the cirros image and ubuntu image based instance creation workflowMatthewLi1-121/+173
JIRA: BOTTLENECK-33 Change-Id: If3f855190e4cd438716d53cdf2dd1ba328fc4f56 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-30Rubbos vm ip CI auto configQiLiang2-2/+28
JIRA: BOTTLENECK-37 Change-Id: I48e83735703f9ec102e347556ba6e201d2984402 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-30add vm env setup and run script after instance creationMatthewLi2-3/+16
JIRA: BOTTLENECK-35 Change-Id: I9d96821779a148a38c4fea27163b49face80afb7 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-29change the image and dependent packages used for rubbos download addressMatthewLi3-16/+21
JIRA: BOTTLENECK-35 Change-Id: I95e185fa8087121d895ec5d5167be34a98ffd31a Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-27download packages from public IP to local repo and create the dev workflowMatthewLi3-0/+87
JIRA: BOTTLENECK-36 Change-Id: I861a2eddb509c00f3418a6f15cb00c22be346ed0 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-25Rubbos heat template add security_groupsQiLiang1-0/+26
Current rules is open all icmp tcp udp ports. Refine it later to just open specific used ports. JIRA: BOTTLENECK-33 Change-Id: I2fb1b57760d1ebef681fa036af1c5a2249bcfc12 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-24use cirros to test instance creation workflowMatthewLi1-0/+4
JIRA: BOTTLENECK-35 Change-Id: Ie62e7352f92e2cf38bfd0ab2a9b40f73b0b6daeb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-12-24Update heat stack creation scriptQiLiang1-1/+1
JIRA: BOTTLENECK-35 Change-Id: I297c9f80350f93a671828094cd7ac520b415907e Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-24Update heat stack creation scriptQiLiang1-54/+43
JIRA: BOTTLENECK-35 Change-Id: Ie74c1f313a5b3f987171442d1c5b453ad7d8eec8 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-24Add rubbos heat templateQiLiang1-0/+265
JIRA: BOTTLENECK-33 Change-Id: I9cd578d1f4a6c64bb8a4e56236f5c6cb72fc5a29 Signed-off-by: QiLiang <liangqi1@huawei.com>