-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27269/
-----------------------------------------------------------
Review request for cloudstack and SrikanteswaraRao Talluri.
Bugs: CLOUDSTACK-7800
https://issues.apache.org/jira/browse/CLOUDSTACK-7800
Repository: cloudstack-git
Description
-------
Starting vCenter 5.5 it has been made strict that hot unplug requires vmware
tools installed on the guest os.
VMware will report error if the vmtools are not installed.
The tests that are trying hot plug and unplug of nic on vms running on vmware,
must check for vmware tools running on the vm.
if the vm does not have tools => assert true for the exception.
if vm has vm tools running => Then only try for plug/unplug of nic.
In case of any other hypervisor, test suite will perform all the steps as it is.
Other changes:
1. Pep8 fixes
2. Changing from import * to specific imports
Diffs
-----
test/integration/smoke/test_nic.py 488ed0a
Diff: https://reviews.apache.org/r/27269/diff/
Testing
-------
Tested with vmware tools not installed on VM scenario. (KVM and Vmware)
I could not get the tools installed on VM.
Log:
Test to add and update added nic to a virtual machine ... === TestName:
test_01_nic | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 1 test in 304.106s
OK
Thanks,
Gaurav Aradhye