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:
Brian De Wolf
2011-06-23 12:40:36 -07:00
parent c0f3a8eb2b
commit 8506638e5c
5 changed files with 34 additions and 30 deletions

View File

@@ -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