Given a Device database object, and a working SNMP connection, discover and store the device's port neighbors information.
Entries in the Topology database table will override any discovered device port relationships.
The Device database object can be a fresh DBIx::Class::Row object which is not yet stored to the database.
Any discovered neighbor unknown to Netdisco will have a discover job immediately queued (subject to the filtering by the discover_* settings).
discover
discover_*
returns: @to_discover
@to_discover
A list of discovererd neighbors will be returned as [$ip, $type] tuples.
$ip
$type
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.