[2996795] Support for Kentrox devices in new class L2::Kentrox (phishphreek)
This commit is contained in:
8
Info.pm
8
Info.pm
@@ -493,6 +493,10 @@ and probably others.
|
||||
|
||||
See documentation in L<SNMP::Info::Layer2::Baystack> for details.
|
||||
|
||||
=item SNMP::Info::Layer2::Kentrox
|
||||
|
||||
Class for Kentrox DataSMART DSU/CSU. See L<SNMP::Info::Layer2::Kentrox> for details.
|
||||
|
||||
=item SNMP::Info::Layer2::C1900
|
||||
|
||||
Subclass for Cisco Catalyst 1900 and 1900c Devices running CatOS.
|
||||
@@ -1432,6 +1436,10 @@ sub device_type {
|
||||
=~ /^(BayStack|Ethernet\s+(Routing\s+)??Switch)\s[2345](\d){2,3}/i
|
||||
);
|
||||
|
||||
# Kentrox DataSMART DSU/CSU
|
||||
$objtype = 'SNMP::Info::Layer2::Kentrox'
|
||||
if ( $desc =~ /^DataSMART/i );
|
||||
|
||||
# Nortel Business Ethernet Switch
|
||||
$objtype = 'SNMP::Info::Layer2::Baystack'
|
||||
if ( $desc =~ /^Business Ethernet Switch\s[12]\d\d/i );
|
||||
|
||||
Reference in New Issue
Block a user