Ports with active nodes are set to be "up" immediately (closes #9)

This commit is contained in:
Oliver Gorwits
2013-10-19 20:47:35 +01:00
parent 85e507a4e9
commit b9ed21ea41
2 changed files with 7 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2.018001 - 2.018001 -
[ENHANCEMENTS]
* Ports with active nodes are set to be "up" immediately (closes #9)
[BUG FIXES] [BUG FIXES]
* Update Print media CSS to handle new UI components * Update Print media CSS to handle new UI components

View File

@@ -94,6 +94,9 @@ sub do_macsuck {
$device->ip, $port, $vlan, scalar keys %{ $fwtable->{$vlan}->{$port} }; $device->ip, $port, $vlan, scalar keys %{ $fwtable->{$vlan}->{$port} };
foreach my $mac (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 # get VLAN from Q-BRIDGE if available
$vlan = $fwtable->{$vlan}->{$port}->{$mac} $vlan = $fwtable->{$vlan}->{$port}->{$mac}
if $vlan == 0; if $vlan == 0;