Whiterabbit (#417)
* CH: add white rabbit * CH: . * CH: better version field * CH: whiterabbit fix version and pod documentation * fix mib links and a few wihtespace cleanups * map enterprises.96 map enterprises.96 to whiterabbit. this is the id of cern, only layer3::whiterabbit uses it * removed inherited modules remove modules that get pulled in via snmp::info::layer3 use SNMP::Info::LLDP; use SNMP::Info::Bridge; remove module that doesn't seems to be used use Socket; Co-authored-by: Christoph Handel <c.handel@gsi.de> Co-authored-by: nick n <39005454+inphobia@users.noreply.github.com>
This commit is contained in:
@@ -1074,6 +1074,12 @@ Subclass for VMware ESXi hosts.
|
||||
|
||||
See documentation in L<SNMP::Info::Layer3::VMware> for details.
|
||||
|
||||
=item SNMP::Info::Layer3::Whiterabbit
|
||||
|
||||
Subclass for whiterabbit devices.
|
||||
|
||||
See documentation in L<SNMP::Info::Layer3::Whiterabbit> for details.
|
||||
|
||||
=back
|
||||
|
||||
=back
|
||||
@@ -1687,6 +1693,7 @@ sub device_type {
|
||||
42 => 'SNMP::Info::Layer3::Sun',
|
||||
43 => 'SNMP::Info::Layer2::3Com',
|
||||
45 => 'SNMP::Info::Layer2::Baystack',
|
||||
96 => 'SNMP::Info::Layer3::Whiterabbit',
|
||||
171 => 'SNMP::Info::Layer3::DLink',
|
||||
244 => 'SNMP::Info::Layer3::Lantronix',
|
||||
311 => 'SNMP::Info::Layer3::Microsoft',
|
||||
@@ -1750,6 +1757,7 @@ sub device_type {
|
||||
11 => 'SNMP::Info::Layer2::HP',
|
||||
43 => 'SNMP::Info::Layer2::3Com',
|
||||
45 => 'SNMP::Info::Layer2::Baystack',
|
||||
96 => 'SNMP::Info::Layer3::Whiterabbit',
|
||||
171 => 'SNMP::Info::Layer3::DLink',
|
||||
207 => 'SNMP::Info::Layer2::Allied',
|
||||
266 => 'SNMP::Info::Layer2::Nexans',
|
||||
@@ -1954,6 +1962,10 @@ sub device_type {
|
||||
if (
|
||||
$desc =~ /\bTeltonika.*RUT9\d{2}\b/);
|
||||
|
||||
# Whiterabbit Timing
|
||||
$objtype = 'SNMP::Info::Layer3::Whiterabbit'
|
||||
if ( $soid =~ /\.1\.3\.6\.1\.4\.1\.96\.100\.1000/i );
|
||||
|
||||
# Generic device classification based upon sysObjectID
|
||||
if ( ( $objtype eq 'SNMP::Info::Layer3' )
|
||||
and ( defined($id) )
|
||||
@@ -2163,6 +2175,10 @@ sub device_type {
|
||||
# it would flip/flop between those
|
||||
$objtype = 'SNMP::Info::Layer3::Scalance'
|
||||
if ( $soid =~ /\.1\.3\.6\.1\.4\.1\.4329\.6\.1\.2/i );
|
||||
|
||||
# Whiterabbit Timing
|
||||
$objtype = 'SNMP::Info::Layer3::Whiterabbit'
|
||||
if ( $soid =~ /\.1\.3\.6\.1\.4\.1\.96\.100\.1000/i );
|
||||
|
||||
# Teltonika RUT9xx Series
|
||||
$objtype = 'SNMP::Info::Layer3::Teltonika'
|
||||
|
||||
Reference in New Issue
Block a user