nutanix / nutanix.ansible

Official Nutanix Ansible collections
GNU General Public License v3.0
67 stars 36 forks source link

Subnet Name --> UUID Lookup should be PE Cluster Aware #260

Closed jzamanski closed 2 years ago

jzamanski commented 2 years ago

The conversion from subnet name to UUID needs to filter on PE cluster as well as there can be subnets of the same name on each PE cluster. Currently it may retrieve the subnet UUID of a subnet with the same name but on a different PE cluster.

https://github.com/nutanix/nutanix.ansible/blob/06461f5c766b264011bfea4b7931fe75795b1dc9/plugins/module_utils/prism/vms.py#L251

bhati-pradeep commented 2 years ago

Fixed in v1.7.0, checkout example vm.yml for usage.