Fix B#4928 import vcenter networks with same name in different clusters

This commit is contained in:
mcabrerizo committed 2016-11-17 17:59:18 +01:00
1 parent 576b4fb468
commit a18a06774e
1 file changed
+1 -1
@@ -517,7 +517,7 @@ class VIClient
next if !n[:host][0]
# Networks can be in several cluster, create one per cluster
Array(n[:host][0]).each{ |host_system|
Array(n[:host]).each{ |host_system|
net_name = "#{n.name} - #{host_system.parent.name}"
if !vnpool["VNET[BRIDGE=\"#{n[:name]}\"]/\