
6 Mar
2006
6 Mar
'06
8:14 p.m.
On Mon, Mar 06, 2006 at 01:56:18PM -0500, John Wiebe wrote:
I've been using smiquery to get various information from MIB's. However, I've found that it isn't reporting the correct MAX-ACCESS if the MAX-ACCESS is read-create, it always returns read-write.
Libsmi has internally a different understanding of access levels than the SMIv2. If you have an SMIv2 table which supports row creation, you have to mark all writable columns read-create. Libsmi instead marks them as read-write and sets a creatable flag on the table's entry node. See for example
smiquery node SNMP-VIEW-BASED-ACM-MIB::vacmAccessEntry
and check the "Creatable:" line. Since smiquery reports the internal representation (very useful for debugging), this is just consistent.
/js
--
Juergen Schoenwaelder International University Bremen
http://www.eecs.iu-bremen.de/ P.O. Box 750 561, 28725 Bremen, Germany