NAME
App::Netdisco::Util::DeviceAuth
DESCRIPTION
Helper functions for device authentication.
There are no default exports, however the :all
tag will export all subroutines.
EXPORT_OK
fixup_device_auth
Rebuilds the device_auth
config with missing defaults and other fixups for config changes over time. Returns a list which can replace device_auth
.
get_external_credentials( $device, $mode )
Runs a command to gather SNMP credentials or a device_auth
stanza.
Mode can be read
or write
and defaults to 'read'.