summaryrefslogtreecommitdiffstats
path: root/utils/env_prepare
AgeCommit message (Collapse)AuthorFilesLines
2018-07-31bug-fix: error function causes script quitYang (Gabriel) Yu1-2/+2
Change-Id: Ib56e7e99a16d76768c2167917bb4c732cf0af13f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 09df92d801b68dc42d7b9e39e3c718988b0c01c6)
2018-05-28adaption to installers/pod configsYang (Gabriel) Yu1-57/+72
Change-Id: I1083c96229a8d79bc9cf1bee4aa00de6aeae9d14 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit c3b0e55865fc143757d87bf60ef8c49e72e90f7e)
2018-05-21bug-fix: idenity env not definedYang (Gabriel) Yu1-12/+23
OS_TENANT_NAME is wrongly used in getting openstack project information and is deprecated in keystone v3. Use OS_PROJECT_NAME to fix Change-Id: I941c612989ea5373ccf8a9d2e88ebd3eabcece73 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 265d35dd56247e855002c05cc4f11b39514700c5)
2018-03-14bugfix: stress ping for offline supportYang Yu1-1/+7
JIRA: BOTTLENECK-226 See above Change-Id: Iba5d21348355a80d6c17deb1a12114d1d07e5c15 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-03-12Merge "bottlenecks offiline support"Yu Yang (Gabriel)1-10/+28
2018-03-12bottlenecks offiline supportliyin1-10/+28
JIRA: BOTTLENECK-224 This patch for bottlenecks support offiline. By use some offiline image rather than yardstick env prepare. This will solve some problem happened in yardstick image builder. Change-Id: I62b6606570c2ea6ce365212c79777af01c47c9a6 Signed-off-by: liyin <liyin11@huawei.com>
2018-03-01roll back the bug-fix for source methodYang Yu1-1/+0
JIRA: BOTTLENECK-222 It seems the issue related to environments. Just roll back for further actions. Change-Id: I9578fb0c2a3aed2fe5b1c704c6baea2e56ca39a9 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-02-26Moon testcase bug fixAce Lee2-0/+60
JIRA: BOTTLENECK-220 The JIRA ticket is to suit moon version 4.3. There are some bugs to fix. Change-Id: Idf8b9a2b4dea6508738283e76457b8d1d25ceae9 Signed-off-by: Ace Lee <liyin11@huawei.com>
2018-02-24bug-fix: python mimic source methodYang Yu1-1/+3
JIRA: BOTTLENECK-222 Details could be referred to the above JIRA ticket Change-Id: I07d89ee85e18a78d060959cfac5ded82aa83ef32 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-16bug-fix: support insecure option for quota settingYang Yu1-2/+25
JIRA: BOTTLENECK-221 Quota setting has openstack cmd executed by bash not supporting insecure option for https Change-Id: I223080b67af9aa1677e2e39daaf727f3a6c0ea97 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-05bug-fix: wrong line to modify for getting resultsYang Yu1-0/+10
In Danube, should modify no.12 line of yardstick config file to let yardstick record result in file instead of reporting to MongoDB. After Danube, it should be no.13 line of that file. Also return to Danube:3.1 and will fix the line issue for VNF scaling test in another ticket Change-Id: I309e9c609967efdda8eaaf289d788ccf1693308e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-25buf-fix: sfc quota settingYang Yu1-5/+1
JIRA: BOTTLENECK-215 compass master does not enable sfc, only eupurates. changing sfc quota will cause error for "not valide attributes" Change-Id: I77fab2d957d88bed6ed28c06bff9d3c2f7fb0da7 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-22bug-fix: neutron quota for euphratesYang Yu1-1/+5
JIRA: BOTTLENECK-215 It seems SFC is enabled defaultly in euphrates. So modify the quota for SFC Change-Id: Id8b88f03b029ca6a4c1c13098d799958601f1bb6 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-21bug-fix: fix neutron quota settingYang Yu1-1/+3
JIRA: BOTTLENECK-215 also fix the bug for type error: converted string Change-Id: Ic56b5ab5c49d8fdbcf49ba4571c2286d5f7bc422 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-15VNF scale-out testcaseAce Lee1-10/+0
JIRA: BOTTLENECK-214 Bottlenecks VNF scale out testcase Change-Id: I05c4dec483062dd59c4b062516c8a6c1bc83ad6e Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-10-10Bottlenecks testpmd scale-up testcase.liyin1-1/+1
JIRA: BOTTLENECK-205 This is the script of testpmd scale-up feature testcase. we will debug the dashboard. Change-Id: I4a6de0e7e1ea7c04639ece78a7b11b75128d8d2f Signed-off-by: liyin <liyin11@huawei.com>
2017-09-07Add local support for config preparation before testingYang Yu1-0/+156
JIRA: BOTTLENECK-103 Lcoal support for finding openstack certs and pod yamls Change-Id: Ia0f0ee2fd841a4f88e82ac3f504613a6f431107e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-07-20Bug fix: Bottlenecks sometimes deadlockAce Lee1-1/+1
JIRA: BOTTLENECK-173 This patch will change the way to call multithreading. And change some encoding error about Yardstick config Change-Id: I04803bff6acaad1089d180b104652049f1f0a485 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-18Bug fix: fit Yardstick 3.1 version.liyin1-1/+11
JIRA: BOTTLENECK-173 This patch will add a file to create some yardstick conf, Yardstick will use this file to manage output file type. Change-Id: I1d265af9f0b9b5132dc63c4d6d95d5bc194c7ff6 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-17Bug fix of Bottlenecks can't use CLIliyin1-1/+1
JIRA: BOTTLENECK-171 Bug fix of Bottlenecks can't use CLI to start test. Some docker-compose function delete to fit elk docker support. After this patch you could use bottlenecks testcase run posca_factor_ping to start this test. you also need to put the rc file to bottlenecks docker. Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-14Add frame support of elk one docker supportliyin2-8/+25
JIRA: BOTTLENECK-171 Add support of Bottlenecks docker frame refact, After this patch we will provide the ability of several installer. Add Yardstick_TAG to adjust yardstick docker version Change-Id: Ib431f8acf4a76b59f9d5e8783bcc7d2e5be208ae Signed-off-by: liyin <liyin11@huawei.com>
2017-03-09Add liscense to file headersyuyang1-8/+0
JIRA: BOTTLENECK-133 Some Yaml, XML and __init__.py file do not have liscense headers. This patch is to add headers to those files or delete those are deprecated. Change-Id: Ie059b1f1879eb420eec171f96985247510c74642 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-21quota limit for posca_stress_pingliyin2-2/+78
JIRA:BOTTLENECK-140 Those code will update an action of quota. Before out test begin we will make quota no limit. so we could do stress test. Those quota limit will change openstack forever. maybe will create damage for openstack. Change-Id: I0a6a06c6c303589881cb2ab7b754213ecf1a845f Signed-off-by: liyin <liyin11@huawei.com>
2017-01-12Bottlenecks stack environment prepareliyin2-0/+87
JIRA: BOTTLENECK-124 This code is for Bottlenecks to have a common way to prepare stack environment. those action are divided into three part: fetch os file, source file and adding ext-net to source file. those function also need change other file like fetch_os_creds.sh. And add some config to config file. remove parser file logging function. This code is relying on the patch: Modify utils/ code into PEP8 style Change-Id: I54405776b6dc3f5fb939e511c96963a9c1624938 Signed-off-by: liyin <liyin11@huawei.com>