
Thanks, I think ( but do not understand ) that the attached fixed the situation ( the errors disappeared from the smilint check). I guess that the conformance assumes objects that are augmented from other information modules?
Bob
On Thu, 2011-11-03 at 06:57 +0100, Juergen Schoenwaelder wrote:
On Wed, Nov 02, 2011 at 07:16:26PM -0400, Robert G Cole wrote:
I am having difficulty getting this MIB module to pass smilint. The issue relates to the use of AUGMENTS. If I do not IMPORT objects from RMON2, then I get severity [1] errors, but if I use IMPORT then I get the following severity [3] errors. Any advise to correct or is this an smilint issue?
Section 3.1 of RFC 2580 says:
The OBJECTS clause, which must be present, is used to specify each object contained in the conformance group. Each of the specified objects must be defined in the same information module as the OBJECT-GROUP macro appears, and must have a MAX-ACCESS clause value of "accessible-for-notify", "read-only", "read-write", or "read- create".
The second sentence says that the objects have to be defined in the _same_ information module as the OBJECT-GROUP macro appears. This is what smilint is checking. (No, I can't explain spontaneously why this rule is in RFC 2580.)
/js