Added table methods to %FUNCS in CDP.pm to retrieve management addresses

of connected devices. Useful for improving neighbor detection in Netdisco.
This commit is contained in:
Jeroen van Ingen
2010-05-03 14:51:35 +00:00
parent e7b289c399
commit 01cd78c75d
2 changed files with 5 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ $VERSION = '2.01';
'c_vlan' => 'cdpCacheNativeVLAN',
'c_duplex' => 'cdpCacheDuplex',
'c_power' => 'cdpCachePowerConsumption',
'c_pri_mgmt_type'=> 'cdpCachePrimaryMgmtAddrType',
'c_pri_mgmt_addr'=> 'cdpCachePrimaryMgmtAddr',
'c_sec_mgmt_type'=> 'cdpCacheSecondaryMgmtAddrType',
'c_sec_mgmt_addr'=> 'cdpCacheSecondaryMgmtAddr',
);
%MUNGE = (