diff --git a/src/vnm_mad/remotes/lib/vlan.rb b/src/vnm_mad/remotes/lib/vlan.rb index c50e13d014..2b3561b39d 100644 --- a/src/vnm_mad/remotes/lib/vlan.rb +++ b/src/vnm_mad/remotes/lib/vlan.rb @@ -77,6 +77,7 @@ module VNMMAD lock @bridges = get_bridges + next if @bridges.nil? attach_nic_id = @vm['TEMPLATE/NIC[ATTACH="YES"]/NIC_ID'] @@ -86,6 +87,7 @@ module VNMMAD @nic = nic next if @nic[:phydev].nil? + next if @bridges[@nic[:bridge]] # Get the name of the vlan device. get_vlan_dev_name