Re: Submitted MALLOC MIB -06

"C. M. Heard" <[email protected]> Sat, 18 May 2002 19:39:59 -0700 (PDT)
Newsgroups gmane.ietf.malloc
Message-ID <[email protected]>
On Fri, 17 May 2002, Dave Thaler wrote:
> I just submitted draft -06.
> 
> Until it appears in the repository, it can be found on the
> MALLOC site at
> http://www.icir.org/malloc/draft-ietf-malloc-malloc-mib-06.txt
> 
> Detailed responses to MIB doctor review comments below.
[ ... ]

I believe that there is an error in the following response:

> 13) Mike Heard:
> >   mallocScopeNameLangName OBJECT-TYPE
> >       SYNTAX     LanguageTag (SIZE(1..92))
> > + -- REVIEWER's note:  if I have counted correctly, this restriction
> > + -- results in a maximum OID length of 126 sub-identifiers for the
> > + -- accessible object instances in this table.  OK if that's as
> intended.
> 
> Actually I count 125, am I missing something?
> 
> mib-2 = 6 subids (.1.3.6.1.2.1)
> malloc = 9 subids (mib-2.mallocMIB.mallocMIBObjects.1)
> mallocScopeNameLangName = 12
> (malloc.ScopeNameTable.mallocScopeNameEntry.1)

OK so far both by my count and that of smidump.

> The INDEX contains
> mallocScopeAddressType  :  1
> mallocScopeFirstAddress : 20 max

But I think that this should be 21, since the index
component is a  variable length OCTET STRING (and
is not IMPLIED) ...

> mallocScopeNameLangName : 92 max
>                          ---
>                          125

... so I come up with 126.

> I think this was left over from when the root was under something other
> than mib-2 and hence the oid was longer.
> 
> Changed 92 to 95.

I think this should be 94.  Note that libsmi-0.3.1 complains that the
index may overflow:

% ./libsmi-0.3.1/tools/smilint -l 9 -s ./MALLOC-MIB |& grep -v '32 characters$'
./MALLOC-MIB:259: [5] index of row `mallocScopeNameEntry' can exceed OID size limit by 1 subidentifier(s)
./MALLOC-MIB:397: [5] `InetAddress' object should have an accompanied preceding `InetAdressType' object
./MALLOC-MIB:407: [5] `InetAddress' object should have an accompanied preceding `InetAdressType' object

Mike