Alias lldp_rem_sysdesc() as lldp_platform() to provide a clue to type of remote LLDP device.

This commit is contained in:
Eric A. Miller
2013-12-08 21:55:24 -05:00
parent b4882285c4
commit 602bb15b47
3 changed files with 15 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ version 3.09 ()
* Aruba POE Support
* Aruba utilizes Q-BRIDGE-MIB when available for VLAN information to
better support wired switches
* Alias lldp_rem_sysdesc() as lldp_platform() to provide a clue to type
of remote LLDP capable device.
[BUG FIXES]

View File

@@ -2632,7 +2632,8 @@ sub c_id {
Returns reference to hash. Key: iid, Value: Remote Device Type
Note: LLDP and EDP do not provide this information.
Note: EDP does not provide this information. LLDP uses (C<lldpRemSysDesc>)
as the closest match.
=cut

View File

@@ -227,6 +227,13 @@ sub lldp_id {
return \%lldp_id;
}
sub lldp_platform {
my $lldp = shift;
my $partial = shift;
return $lldp->lldp_rem_sysdesc($partial);
}
#sub root_ip {
# my $lldp = shift;
#
@@ -440,6 +447,10 @@ Currently only returns IPv4 or MAC addresses.
Returns remote port ID
=item $lldp->lldp_platform()
Alias for C<lldp_rem_sysdesc()>.
=back
=head2 LLDP Remote Table (C<lldpRemTable>)