App-Netdisco
view release on metacpan or search on metacpan
* Add note to docs about reinstall after OS upgrade
[BUG FIXES]
* Do not attempt to UTF-8 decode OUI retrieved by curl/wget
2.035004 - 2017-04-25
[BUG FIXES]
* Fix for relocated DB schema files
2.035003 - 2017-04-24
[BUG FIXES]
* Add IO::Socket::SSL requirement for OUI/MIB download
* Fix for MIB download through an HTTP proxy
2.035002 - 2017-04-24
lib/App/Netdisco/Worker/Plugin/Discover/Entities.pm view on Meta::CPAN
serial => trim(Encode::decode('UTF-8', $e_serial->{$entry})),
fru => $e_fru->{$entry},
description => trim(Encode::decode('UTF-8', $e_descr->{$entry})),
last_discover => \'LOCALTIMESTAMP',
};
}
foreach my $m (@modules){
if ($m->{parent} and not exists $seen_idx{ $m->{parent} }){
# Some combined devices like Nexus with FEX or ASR with Satellites can return invalid
# EntityMIB trees. This workaround relocates entitites with invalid parents to the root
# of the tree, so they are at least visible in the Modules tab (see #710)
debug sprintf ' [%s] Entity %s (%s) has invalid parent %s - attaching as root entity instead',
$device->ip, ($m->{index} || '"unknown index"'), ($m->{name} || '"unknown name"'), $m->{parent};
$m->{parent} = undef;
}
}
schema('netdisco')->txn_do(sub {
my $gone = $device->modules->delete;
( run in 0.522 second using v1.01-cache-2.11-cpan-71847e10f99 )