Refactor code for find_host_by_cluster_datacenter (#26859)

Fix adds refactor of code for find_host_by_cluster_datacenter
API in vmware_host and vmware_resource_pool.
Also, adds strict check for cluster and datacenter object find.
Testcase for vmware_resource_pool.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-08-28 22:06:46 +05:30 committed by Dag Wieers
commit 3e20acbd79
5 changed files with 199 additions and 36 deletions

View file

@ -0,0 +1,2 @@
posix/ci/cloud/vcenter
cloud/vcenter