
On Fri, Aug 09, 2013 at 12:55:56PM -0700, Daniel Chuang wrote:
Hi,
I am trying to run libsmi version 0.4.2 in agent capabilities mib using "smilint -e -m -s" command but it creates the following errors: SYNTAX statement is not included in the a notification variation but smilint is complaining "SYNTAX is not allowed in a notification variation".
[...]
I looked at the rfc2580 and the format seemed correct:
NotificationVariation ::= "VARIATION" value(NotificationName) AccessPart "DESCRIPTION" Text AccessPart ::= "ACCESS" Access | empty
Yep, I confirm this is broken in libsmi. Funny that nobody discovered this before. The parser apparently wrongly complains about things that are rightfully not there.
I tried to fix this in svn revision 1799. In general, the processing of agent capabilities has not seen much testing.
/js