Promote L2::Aruba to L3::Aruba
Aruba controllers can act as L3 devices and provide L3 information through the standard MIBs. This change makes Aruba devices get recognized as such. Layer2.pm and Layer3.pm provide roughly the same functionality so there should be little to no impact for Aruba devices only acting as L2 entities.
This commit is contained in:
6
Info.pm
6
Info.pm
@@ -1236,7 +1236,7 @@ sub device_type {
|
||||
5624 => 'SNMP::Info::Layer3::Enterasys',
|
||||
11898 => 'SNMP::Info::Layer2::Orinoco',
|
||||
14179 => 'SNMP::Info::Layer2::Airespace',
|
||||
14823 => 'SNMP::Info::Layer2::Aruba',
|
||||
14823 => 'SNMP::Info::Layer3::Aruba',
|
||||
);
|
||||
|
||||
# Get just the enterprise number for generic mapping
|
||||
@@ -1449,11 +1449,11 @@ sub device_type {
|
||||
if ( $desc =~ /8-port .DSL Module\(Annex .\)/i );
|
||||
|
||||
# Aruba wireless switches
|
||||
$objtype = 'SNMP::Info::Layer2::Aruba'
|
||||
$objtype = 'SNMP::Info::Layer3::Aruba'
|
||||
if ( $desc =~ /(ArubaOS|AirOS)/ );
|
||||
|
||||
# Alcatel-Lucent branded Aruba
|
||||
$objtype = 'SNMP::Info::Layer2::Aruba'
|
||||
$objtype = 'SNMP::Info::Layer3::Aruba'
|
||||
if ( $desc =~ /^AOS-W/ );
|
||||
|
||||
#Juniper NetScreen
|
||||
|
||||
Reference in New Issue
Block a user