diff --git a/Netdisco/Changes b/Netdisco/Changes index 588ba8c8..5c4a71e2 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -1,5 +1,9 @@ 2.018001 - + [ENHANCEMENTS] + + * Ports with active nodes are set to be "up" immediately (closes #9) + [BUG FIXES] * Update Print media CSS to handle new UI components diff --git a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm index 35838efa..29eed68e 100644 --- a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm +++ b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm @@ -94,6 +94,9 @@ sub do_macsuck { $device->ip, $port, $vlan, scalar keys %{ $fwtable->{$vlan}->{$port} }; foreach my $mac (keys %{ $fwtable->{$vlan}->{$port} }) { + # make sure this port is UP in netdisco + $device_ports->{$port}->update({up_admin => 'up', up => 'up'}); + # get VLAN from Q-BRIDGE if available $vlan = $fwtable->{$vlan}->{$port}->{$mac} if $vlan == 0;