mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
B #4804: 802.1Q Virtual Network Driver Deactivate problem
This commit is contained in:
parent
b1b5f0b343
commit
e1e6a8bfaf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user