[Home]

Summary:ASTERISK-12239: Handful of problems with DIGIUM-MIB and ASTERISK-MIB
Reporter:Jeff Gehlbach (jeffg)Labels:
Date Opened:2008-06-20 15:08:43Date Closed:2008-06-20 16:47:55
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_snmp
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Running these MIB definitions through smilint reveals several problems, most not show-stoppers but worth addressing just the same.  Primarily minor things such as missing imports, missing range restrictions on Integer32 indices, and initial capital letters in enumeration elements. The only major problem is the misspelling of node "astChanCidANI" as "astCanCidANI" in its definition.

****** ADDITIONAL INFORMATION ******

fruitbat:doc jeffg$ smilint digium-mib.txt asterisk-mib.txt
digium-mib.txt:7: macro `MODULE-IDENTITY' has not been imported from module `SNMPv2-SMI'
digium-mib.txt:15: revision for last update is missing
asterisk-mib.txt:68: SMIv2 base type `Unsigned32' must be imported from SNMPv2-SMI
asterisk-mib.txt:112: SMIv2 base type `Gauge32' must be imported from SNMPv2-SMI
asterisk-mib.txt:218: SMIv2 base type `Gauge32' must be imported from SNMPv2-SMI
asterisk-mib.txt:263: SMIv2 base type `Unsigned32' must be imported from SNMPv2-SMI
asterisk-mib.txt:264: SMIv2 base type `Unsigned32' must be imported from SNMPv2-SMI
asterisk-mib.txt:452: SMIv2 base type `Unsigned32' must be imported from SNMPv2-SMI
asterisk-mib.txt:460: SMIv2 base type `Unsigned32' must be imported from SNMPv2-SMI
asterisk-mib.txt:575: parse error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
asterisk-mib.txt:580: parse error, unexpected MAX_ACCESS
asterisk-mib.txt:588: parse error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
asterisk-mib.txt:593: parse error, unexpected MAX_ACCESS
asterisk-mib.txt:609: parse error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
asterisk-mib.txt:618: parse error, unexpected MAX_ACCESS
asterisk-mib.txt:634: parse error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
asterisk-mib.txt:645: parse error, unexpected MAX_ACCESS
asterisk-mib.txt:653: parse error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
asterisk-mib.txt:660: parse error, unexpected MAX_ACCESS
asterisk-mib.txt:700: SMIv2 base type `Gauge32' must be imported from SNMPv2-SMI
asterisk-mib.txt:753: SMIv2 base type `Gauge32' must be imported from SNMPv2-SMI
asterisk-mib.txt:763: SMIv2 base type `Gauge32' must be imported from SNMPv2-SMI
asterisk-mib.txt:180: index element `astIndIndex' of row `astIndicationsEntry' must have a range restriction
asterisk-mib.txt:242: SEQUENCE element ASTERISK-25 `astChanCidANI' is not a child node under `astChanEntry'
asterisk-mib.txt:242: SEQUENCE element ASTERISK-31 `astChanAMAFlags' is not a child node under `astChanEntry'
asterisk-mib.txt:242: SEQUENCE element ASTERISK-32 `astChanADSI' is not a child node under `astChanEntry'
asterisk-mib.txt:242: SEQUENCE element ASTERISK-33 `astChanToneZone' is not a child node under `astChanEntry'
asterisk-mib.txt:242: SEQUENCE of `AstChanEntry' is missing columnar object `astCanCidANI'
asterisk-mib.txt:286: index element `astChanIndex' of row `astChanEntry' must have a range restriction
asterisk-mib.txt:271: unknown object identifier label `astChanCidANI'
asterisk-mib.txt:277: unknown object identifier label `astChanAMAFlags'
asterisk-mib.txt:278: unknown object identifier label `astChanADSI'
asterisk-mib.txt:280: unknown object identifier label `astChanHangupCause'
asterisk-mib.txt:282: unknown object identifier label `astChanFlags'
asterisk-mib.txt:284: unknown object identifier label `astChanTransferCap'
asterisk-mib.txt:702: index element `astChanTypeIndex' of row `astChanTypeEntry' must have a range restriction

Comments:By: Jeff Gehlbach (jeffg) 2008-06-20 16:42:54

Fix committed to branches/1.4 at r124372.
Fix merged to trunk at r124392 and r124393 (missed committing "." in the first commit).
Fix merged to branches/1.6.0 at r124394.

By: Mark Michelson (mmichelson) 2008-06-20 16:47:53

Closing because jeffg has fixed the bug.