summaryrefslogtreecommitdiffstats
path: root/func/spawn_vm.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-28Code refactor: spawn_vm.pywu.zhihui1-125/+82
1. update SampleHeat.yaml 2. No need to fetch private key file my_key.pem. 3. remove keypair value from spawn_vm_test.py 4. cleanup redundant code. Change-Id: Id7ccdbae5b88c86ebff7518710b6c91ab4281c53 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-14Adjust directory structurewu.zhihui1-4/+4
qtip ! +---- scripts ! ! ! +----ref_result # python scripts to generate results report ! +----fetch_compute_ips.sh ! +----fetch_os_creds.sh ! +----file_permission.sh ! +----get_env_info.sh ! +----qtip_creds.sh ! +----ssh_exch.exp ! +---- config ! ! ! +---- Qtip_key ! +---- Qtip_key.pub ! +---- SampleHeat.yaml ! +---- utils ! ! ! +---- logger_utils.py ! +---- report # generate pdf report file Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-09bugfix: function name typowu.zhihui1-1/+1
Change-Id: Idf41a5cb02bdb59e6e5d107fa0734091fd9c8a91 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-09code refactor: create_zones.pywu.zhihui1-3/+6
1. simply the process of creating aggregates in create_zones.py. 2. before creating aggregates, it will clean all aggregates firstly. TODO: It should clean up the created aggregates. It needs a big structure modification in args_handler.py. Let's do it step by step. Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-01Non-zero exit status should be used when teminated abnormallyYujun Zhang1-1/+1
Change-Id: I6034b3735ebf412ef4c11c837a42f121161a70b2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-27code refactor: run_qtip.shwu.zhihui1-32/+0
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test. 2. Add cleanup_qtip_image.sh to clean up qtip image after finishing qtip test. Both of them are invoked in run_qtip.sh Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-09-20Fix issues found in security reviewSerenaFeng1-1/+1
JIRA: QTIP-105 Change-Id: I08108a982f9059fd19b92df0d219fa8f13f288ad Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-06Fix the download fail and 'sshkey is not defined' problem in CI.zhifeng.jiang1-1/+0
modification: Remove the proxy info in zte-pod1 Fix 'sshkey is not defined' problem in CI Change-Id: I291eb03fea3f31cd8b499c6ee86836caa9a0de71 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-12Add some UT test cases and fix pep8 errors for spawn_vmzhifeng.jiang1-282/+279
JIRA:QTIP-89 Change-Id: I2555a0a7a8ffaf6d19cfad88770cd8e378d154b2 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-02Correct the wrong default public network name when install is 'fuel' and ↵zhifeng.jiang1-1/+1
version is 8.0. JIRA:QTIP-83 Change-Id: I2864105e525f095302fd5ddf0e96d2cf76248c1c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-01-21bug fix: result collection bug fix for docker imagesMofassirArif1-7/+9
Change-Id: Ia4ea09b90c7a4f4e3699af456c6d66e85661cc0b Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-06started work on the dashboard APIMofassir1-4/+26
Change-Id: Ifbb16f20ff8a0821b790c0c44a1eae82875f9051 Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
2015-12-22Restructured QTIP directories and CLIMofassir Arif1-9/+9
I have changed the arguments for the CLI and now QTIP takes a file along withthe name of the lab to run on Right now only the config files for the dell lab have been added, These will increase when we make QTIP available for other labs. I have also added the provision of changing the public network from the config file and some leftover files from previous verisons have been remove Change-Id: Ifeb01d80099eab06dc77a7b2e07097ebb17a13a2 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com>
2015-12-16Removed Root previlagesMofassir Arif1-16/+14
QTIP now uses a key of its own to ssh into VMs The ssh for the baremetal servers still needs work Change-Id: I1aa37e07c4f9b3f7f4902d16cdbf74f39eb6c698 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com> Conflicts: .gitignore
2015-12-16Networking Testcase: Iperf ImplementedMofassir Arif1-36/+33
The ansible playbooks as well as the config files for the iperf throughput testing have been implemented. Some changes have been made to the driver function for the benchmarks. ansible now gets passed a json file. Change-Id: Ibf4c0210ab9f6cbf9896ca69bf2fb6bda8a9925d Signed-off-by: Mofassir Arif <mofassir@gmail.com>
2015-11-05Python Framework for QTIPMofassir Arif1-0/+263
Dhrystone Whetstone and DPI benchmarks have been implemented CLI arguments have been implemented test case are sorted based on category such as compute,network and storage glance and heat client have been used to generate the stack. automatic upload of QTIP image and delete function for existing stack before creating new stack has been implemented system information collecton and result generation has been implemented JIRA: QTIP-17 Signed-off-by: Mofassir Arif <mofassir_arif@dell.com> Change-Id: I4b7b134017723c30c771cc14d2edce33fcb8ba00