mirror of https://github.com/ansible/ansible.git
VMware: confine search for network till datacenter level (#40382)
If there are multiple distributed virtual portgroup network with same name in different datacenter, vmware_guest module used to choose first DVPG irrespective of the datacenter. This caused problem if two datacenter has same name for DVPG, vmware_guest module failed with error "The object or item referred to could not be found." This fix adds check to search for network (Distributed Virtual Portgroup) till datacenter level. This avoids selection of same name DVPG from other datacenter. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>pull/43804/head
parent
3dcbf3b003
commit
5936e1f449
Loading…
Reference in New Issue