Private MIB Generator Code
Status: Alpha
Brought to you by:
jharwood757
| File | Date | Author | Commit |
|---|---|---|---|
| MibGenerator.py | 2011-04-28 | jharwood757 | [r6] Minor adjustments to comments and readme file |
| MibParser.py | 2011-04-28 | jharwood757 | [r5] |
| README | 2011-04-28 | jharwood757 | [r6] Minor adjustments to comments and readme file |
| XPR1769-MIB.txt | 2011-04-28 | jharwood757 | [r5] |
PrvMibGen
=========
$Id$
A Python script that parses an SNMP MIB text file and generates a skeleton C source code
file that can be used with the LWIP-SNMP to implement a private mib.
Dependencies
------------
Download and install the pyparsing module from:
http://sourceforge.net/projects/pyparsing/
Deficiencies
------------
** The current version cannot handle Textual Convention statements **
Sorry, you'll have to comment them out.
I hope to fix this soon.
Installation
------------
Unzip the distribution to any convenient folder
Usage
-----
On the command line, type:
MibParser.py <mib-file.txt>
The generator will be called if the parse phase succeeds and it
will produce a file called: mib-file.c