App::Netdisco::Core::Discover
A set of helper subroutines to support parts of the Netdisco application.
There are no default exports, however the :all tag will export all subroutines.
:all
Returns: $device
$device
Given a Device database object, and a working SNMP connection, check whether the database object's IP is the best choice for that device. If not, update the IP and hostname in the device object for the canonical IP.
Given a Device database object, and a working SNMP connection, discover and store basic device information.
The Device database object can be a fresh DBIx::Class::Row object which is not yet stored to the database.
Given a Device database object, and a working SNMP connection, discover and store the device's interface/port information.
Given a Device database object, and a working SNMP connection, discover and store the device's wireless interface information.
Given a Device database object, and a working SNMP connection, discover and store the device's vlan information.
Given a Device database object, and a working SNMP connection, discover and store the device's PoE information.
Given a Device database object, and a working SNMP connection, discover and store the device's module information.
returns: @to_discover
@to_discover
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.
A list of discovererd neighbors will be returned as [$ip, $type] tuples.
$ip
$type
Any discovered neighbor unknown to Netdisco will have a discover job immediately queued (subject to the filtering by the discover_* settings).
discover
discover_*
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.