get_port_macs returns all port MACs
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2.027001 -
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* get_port_macs returns all port MACs
|
||||||
|
|
||||||
2.027000 - 2014-04-30
|
2.027000 - 2014-04-30
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -21,10 +21,13 @@ subroutines.
|
|||||||
|
|
||||||
=head1 EXPORT_OK
|
=head1 EXPORT_OK
|
||||||
|
|
||||||
=head2 get_port_macs( $device )
|
=head2 get_port_macs
|
||||||
|
|
||||||
Returns a Hash reference of C<< { MAC => IP } >> for all interface MAC
|
Returns a Hash reference of C<< { MAC => IP } >> for all interface MAC
|
||||||
addresses on a device.
|
addresses on all devices.
|
||||||
|
|
||||||
|
If you need to filter for a given device, simply compare the IP (hash value)
|
||||||
|
to your device's IP.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user