if self.verbose:
print()
vsphere_name = vm.vsphere
- vsphere = self.vsphere[vsphere_name]
existing_vm = None
for iface in vm.interfaces:
i += 1
self._validate_interface_of_vm(
- vm_name=vm.name, iface=iface, vsphere_name=vsphere_name, vm_cluster=vm_cluster, i=i)
+ vm_name=vm.name, iface=iface, vsphere_name=vsphere_name,
+ vm_cluster=vm_cluster, i=i)
# -------------------------------------------------------------------------ยท
def _validate_interface_of_vm(self, vm_name, iface, vsphere_name, vm_cluster, i=0):