1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

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

This commit is contained in:
mcabrerizo 2016-11-17 17:52:59 +01:00
parent f7888c5808
commit 4d95cb449a

View File

@ -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]}\"]/\