
Tim Riches writes:
Tim> I have some notes regarding the operation of smilint 0.3.0 (under Tim> NT/cygwin 1.3.9 environment), used as Tim> d:\cygwin\usr\local\bin\smilint -s -i import-unused -l 6 mibfile:
Tim> 1. smilint seems to require SYNTAX clause before an enumerated Tim> DEFVAL clause in an AC VARIATION clause, otherwise: Tim> 'D:\DATA\SNMPmibs\CDXC1616-AC.MIB:423: [2] default value syntax Tim> does not match object syntax' is output. Although once it's Tim> used, further SYNTAX statements for further VARIATION clauses of Tim> the same type are not required within the same SUPPORTS clause. Tim> But another SUPPORTS clause needs to repeat the SYNTAX statement.
Tim> 2. Within an AGENT-CAPABILITIES macro, if an object within a Tim> group which is not within an INCLUDES clause, but is mentioned in Tim> a subsequent VARIATION clause, should a warning or error of some Tim> sort be generated?
There is right now very little support for checking agent capability clauses. This is an area where people who actually use agent capability clauses are more than welcome to contribute patches...
Tim> 3. Smilint never seems to mind if hyphens are left in object or Tim> TC names, even when it knows the mib must be SMIv2.
Running 'smilint -l 6 IP-FORWARD-MIB' generates among other things:
IP-FORWARD-MIB:649: warning: named number `is-is' must not include a hyphen in SMIv2
If you think you have found a bug, please send small MIB fragments. It would be even more helpful if you write them as test modules (see test/mibs/LIBS-TEST-xxx-MIB for examples) so that we can include them in the regression test suite to ensure that fixed bugs will never show up again.
/js