NAME
App::Netdisco::Util::PortMAC
DESCRIPTION
Helper subroutine to support parts of the Netdisco application.
There are no default exports, however the :all
tag will export all subroutines.
EXPORT_OK
get_port_macs
Returns a Hash reference of { MAC => IP }
for all interface MAC addresses on all devices.
If you need to filter for a given device, simply compare the IP (hash value) to your device's IP.