Alias lldp_rem_sysdesc() as lldp_platform() to provide a clue to type of remote LLDP device.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
3
Info.pm
3
Info.pm
@@ -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
|
||||
|
||||
|
||||
11
Info/LLDP.pm
11
Info/LLDP.pm
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user