PySNMP MIB generator#
- class pysmi.codegen.pysnmp.PySnmpCodeGen#
Turns MIB AST into pysnmp Python code.
Builds Python module representing MIB module in terms of pysnmp objects from MIB supplied in form of an Abstract Syntax Tree on input.
Instance of this class is supposed to be passed to MibCompiler, the rest is internal to MibCompiler.