Home #SNMP Design: Parser Update
Post
Cancel

#SNMP Design: Parser Update

I know that it is impossible to write a perfect MIB parser in a few months, but I am still satisfied about the simple parser I wrote for #SNMP library in May and June as it successfully parses 70 Net-SNMP bundled MIB documents without an exception.

However, I know there are bugs inside because Net-SNMP bundles nice MIB documents with consistent format. Yes, other MIB documents may cause an exception just because its format is cripple. That’s my fault, because I never knew how ugly a MIB document might be.

During the development of #SNMP MIB Browser (especially the MIB tree feature), I have to enhance the parser from time to time to parse a few MIB documents downloaded from the Internet. Luckily, the changes are small, so I think my original design is not too bad.

And today, I can announce that this parser can parse over 100 different MIB documents without an exception. Stay tuned.

This post is licensed under CC BY 4.0 by the author.
Advertisement

GrapeVine Voice: Castalia Author's Post

#SNMP Design: Table Manipulation

Comments powered by Disqus.