[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing items used in MODULE-COMPLIANCE and AGENT-CAPABILITIES



>>>>> David T Perkins writes:

David> On this issue, I suggest that those with strong opinions write
David> some example MIB modules containing the MODULE-COMPILANCE and
David> AGENT-CAPABILITIES constructs.

David> I did this many years ago, and for me having the redundant
David> IMPORTS seemed a little silly.

David> Try it, and provide a URL to your example MIB modules.  Here is
David> my example that contains two MIB modules. The first has no
David> imports and the second has imports.
David> http://www.snmpinfo.com/EX-MIB.txt

We probably do not agree on this. I personally find the second version
clearer since it states upfront clearly what this module uses and
depends on.  The first version requires me to either have a tool which
assembles the imported descriptors or I have to do that manually.

In fact, I consider the second implicit import mechanism via the
MODULE clause in the MODULE-COMPLIANCE a rather redundant feature of
the SMIv2 language. I am still a strong believer that having exactly
one way of doing things (such as importing items here) increases
interoperability and reduces confusion.

(I guess this is why I do not like perl. ;-)

/js

-- 
Juergen Schoenwaelder    <http://www.informatik.uni-osnabrueck.de/schoenw/>