Support for DOCSIS Cable Modems (#368)

This commit is contained in:
pyro3d
2019-10-15 10:28:32 -07:00
committed by Oliver Gorwits
parent dd96147712
commit a97c48546c
3 changed files with 138 additions and 0 deletions

View File

@@ -344,6 +344,12 @@ SNMP Interface for DOCSIS CMTS
See documentation in L<SNMP::Info::DocsisHE> for details.
=item SNMP::Info::DocsisCM
SNMP Interface for DOCSIS Cable Modems
See documentation in L<SNMP::Info::DocsisCM> for details.
=item SNMP::Info::EDP
Extreme Discovery Protocol. F<EXTREME-EDP-MIB>
@@ -2046,6 +2052,11 @@ sub device_type {
$objtype = 'SNMP::Info::Layer2::ZyXEL_DSLAM'
if ( $desc =~ /8-port .DSL Module\(Annex .\)/i );
# Generic DOCSIS Cable Modem override
# If sysDesc follows the DOCSIS standard
$objtype = 'SNMP::Info::DocsisCM'
if ( $desc =~ /<<HW_REV: .*; VENDOR: .*; BOOTR: .*; SW_REV: .*; MODEL: .*>>/i);
# Generic device classification based upon sysObjectID
if ( ( $objtype eq 'SNMP::Info::Layer2' )
and ( defined($id) )