Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I615908c95526a982d901ea1186da573e2cc030d9
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
|
|
|
|
Change-Id: I664ba714ab4094754fa3d71587da8536555a02ce
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Add the unit test file test_libvirt_utils.py
Change-Id: Id5c44bd3683183367439486fbea8dba03ccb8bb7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
* changes:
Add more test function and case in test_utils.py
Add more test cases in test_deploy.py
|
|
Change-Id: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Exception occurred in [1]. But te deployment didn't stop and
blocked for a long time.
[1] https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/169/
Change-Id: I0d5639da1e0d011855df0b0651328f11168e5d01
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Add more test functions and test case in test_utils.py,
test_daisy_server.py and test_environment.py.
Change-Id: I7e4ea6993205e1d2f7cc8202820a3ada99613910
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
Change-Id: I7a88d8b65168356420aee2042ac3902834633477
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
Add more test cases in test_deploy.py and test_environment.py
Change-Id: I6adf3f51aa7a436387c2da8a8dc8c67f6e5a70db
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
This is a bug fix of 02e1f1c8ab3f3857ca2370f98575ccbf41f12a01
Change-Id: I628c5e33a76bc28e0af139e338b29a7393700525
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
create_daisy_server_network method in VirtualEnvironment class
calls self.delete_virtual_network, but it doesn't exist,
actually it should be delete_virtual_network function in module
libvirt_utils.py.
Change-Id: I381e916097744827a22d311b275611df38d8e1be
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Change-Id: I82086b85da488e183589af7b4adbd6c80835c039
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: I5caadb42b3890858e7642a5fd260392370dbbfc8
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
1.Add test_glance.py, test_neutron.py and test_nova.py unittest
files, and modify the neutron.py to adapt the unittest.
2.Add some unittest functions in test_post_execute.py,
test_deploy.py, test_keystoneauth.py.
3.rename test_prepare_execure.py to test_prepare_execute.py.
Change-Id: Ie0640d133e27c558648416a6a5cf044a00ffa67f
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
1. Eliminate hard code about pxe bridge
2. Replace the bridge in daisy VM template with the pxe bridge
provided by jenkins
Change-Id: I7a8463181847417d10705ce9ff4db6e68d505c6d
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
1.Add the pytest file test_enviroment.py
2.Add the pytest file test_daisy_server.py
Change-Id: If679c3a7279a915d078dd3008bcfc56be6dccc3e
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Remove some "if/else".
Rename a variables and a file.
Split a testcase in two cases.
Change-Id: Ic107845ac8eff41ba20e1501c93925586d6cbde9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
Sometimes the VMs do not reboot when using "virsh reboot".
The virtual depoyment CI jobs failed recently.
Change-Id: Id8b3ef638a7ba8f584c6e4c03d11e77d2919a35b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: Ide23a73bd0f610bf949431538e64788c2dae0e12
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
Change-Id: I642d130566137dff727b7227658afe6ace9473d6
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
(cherry picked from commit 94d3957c5aba2db70d06929ac9538280a71c6641)
|
|
|
|
Change-Id: I642d130566137dff727b7227658afe6ace9473d6
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I03c283222060677f7ce7b5ddb0241db78e52b481
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
1.add the pytest file test_deploy.py
2.fix the tmpfile clearup issue.
Change-Id: I3a7e0f9199f1bf518b332fd3e9884c8f084575ae
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Change-Id: I6514292b16c784ced0dcb82d639fe10b425d63e2
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Change-Id: I08844b899de2dba539b3c3942345f83d1ac3c198
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
Since mac_address_map is always avaliable, there is no need to
pass host_name into add_hosts_interface() and use zip() to do
strange combination any more.
This change:
1) Is trying to make code more understandable
2) Also delete a unused parameter for add_host_role()
Change-Id: Icef47cdf7f1a1522600b351f6e2f47d6f62efa9f
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
1. Eliminate hard coding
2. Add ipmi info in schemas
3. Add unit test
Change-Id: I4561bbc9454e02fd1de2106645db341a4129245b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I7d25c13221e60d40801dc694efe8c32c31ebfabf
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
Change-Id: I9916d494e67b788d491b44fc1d0202d5ac20e710
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
replace all the "${TOOLS_PATH}/setup/bin_temp" statement to
the variable $target_dir
Change-Id: I62b95f1780a7cd5e0c8c4e60a5b0661a2a9937bd
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
1.add the below unit test files:
test_netwrok.py/test_schemas.py/test_query.py/test_utils.py
2.add the corresponding test conf file deploy_virtual_error.yml.
Change-Id: I01292d4c94b9d6159597961a0cab515f57727ec3
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|