Revision 85e3fda2

View differences:

src/vnm_mad/remotes/lib/vlan.rb
47 47
                create_bridge
48 48

  
49 49
                # Check that no other vlans are connected to this bridge
50
                validate_vlan_id
50
                validate_vlan_id if @nic[:conf][:validate_vlan_id]
51 51

  
52 52
                # Return if vlan device is already in the bridge.
53 53
                next if @bridges[@nic[:bridge]].include? @nic[:vlan_dev]

Also available in: Unified diff